News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
Setting up puppet directory environment in puppet
Tags: developer sandbox
May 11, 2018 at 4:28am   •   1 replies  •  0 likes
soujanya

I am learning puppet but I stuck with one problem. I have a Puppet installation with one Puppet master and one Puppet agent, and I am using open source Puppet. I to set up a environment named Test. The directory is as follows /etc/puppet/environments/Test its having modules and manifests directories. And environment.conf file.

My environment.conf contains the following line:

modulepath = $confdir/environments/production/modules

I created a module named sample inside the modules directory of the environment. Described one class called sample inside the init.pp of the sample module's manifests directory. The class is used to install a small puppet software. In the the manifests directory of the environment Test I created a file site.pp which will implement the class sample defined inside the module.

My puppet.conf contains this following lines:

[main] logdir=/var/log/puppet vardir=/var/lib/puppet ssldir=/var/lib/puppet/ssl rundir=/var/run/puppet factpath=$vardir/lib/facter prerun_command=/etc/puppet/etckeeper-commit-pre postrun_command=/etc/puppet/etckeeper-commit-post server=puppet.master

[master] ssl_client_header = SSL_CLIENT_S_DN ssl_client_verify_header = SSL_CLIENT_VERIFY

But whenever I tried to implement the manifests in the Puppet agent, It is using the default site.ppand not using the environments site.pp

1 Answer
answered on May 11, 2018 at 8:02am  
Hi Soujanyanaganuri,

This community page is dedicated for RingCentral developers to post questions related to RingCentral platform. If your question is related to our platform, please give further details of your problem. Otherwise, this type of question is better posted to stack overflow, where other developers could help you better.

+ Phong

 0



A new Community is coming to RingCentral!

Posts are currently read-only as we transition into our new platform.

We thank you for your patience
during this downtime.

Try Workflow Builder

Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!

Try RingCentral Workflow Builder

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us