Re: [Puppet Users] Re: Puppet, Yum, Cassandra, openjdk and --nodeps

2013-07-31 Thread Keith Burdis
On 30 Jul 2013 18:57, Paul Pham m...@paulpham.net wrote: Do most folks who use puppet not use yum? Or are most people okay with letting puppet install dependencies automagically? Puppet has different package providers and I use the appropriate one depending on what I want it to do. If I want

Re: [Puppet Users] Re: 3.2.2 on CentOS 6.3, and Did not receive certificate

2013-07-24 Thread Keith Burdis
When having problems like this it is often a good idea to shut down the Apache web server and run: # puppet master --debug from a console instead. If that works then your Puppet setup is okay and you should look at your web server and passenger config. - Keith On 18 Jul 2013 20:21, Forrie

Re: [Puppet Users] Debugging Puppetmaster with Apache/Rack/Passenger

2013-07-24 Thread Keith Burdis
I believe the --debug in config.ru sends output to syslog so either look in /var/log/messages (or similar) or specify a log destination filename like: ARGV --logdest /var/log/puppet/puppet-master.log - Keith On 23 Jul 2013 09:15, Christian Flamm christian.le.fl...@gmail.com wrote: Hi,

Re: [Puppet Users] Calling a custom class module via a manifest - puppet 0.24.8

2013-06-23 Thread Keith Burdis
Perhaps try removing the final trailing comma after enable = false. Some Puppet versions have a problem with this. - Keith On 24 Jun 2013 01:11, Manoj Bhola mbhol...@gmail.com wrote: Hi, I hope someone can help. I have created a custom class module which updates a configuration file.

Re: [Puppet Users] PuppetLabs Module Toolkit

2013-06-21 Thread Keith Burdis
http://docs.puppetlabs.com/puppet/2.7/reference/modules_publishing.html Is there a toolkit generally used to develop/manage puppet modules? I've been playing with the modules on puppetlabs and have a question about the packaging used. It appears many of the developers are using some tools /

Re: [Puppet Users] Re: Validation failed: Host already has a report for time and kind

2013-06-11 Thread Keith Burdis
This could be an issue with time on the host being inconsistent. Is it configured to use NTP to sync against a time server? - Keith On 11 Jun 2013 05:06, Luke Vidler luke.vid...@gmail.com wrote: Me Three, same versions and errors - Did you guys work out how to fix it yet? On Thursday,

Re: [Puppet Users] Share Hiera configuration between 2 nodes?

2013-06-05 Thread Keith Burdis
! On Tuesday, June 4, 2013 2:09:48 PM UTC-6, Keith Burdis wrote: You could set a custom role fact on node1 and node2 with the value webserver and then use the role fact in your Hiera hierarchy. For example using facter.d on on node1 and node2: # cd /etc/facter/facts.d # echo 'role

Re: [Puppet Users] Share Hiera configuration between 2 nodes?

2013-06-04 Thread Keith Burdis
You could set a custom role fact on node1 and node2 with the value webserver and then use the role fact in your Hiera hierarchy. For example using facter.d on on node1 and node2: # cd /etc/facter/facts.d # echo 'role: webserver' custom_facts.yaml # facter -p role role = webserver and on the

Re: [Puppet Users] Very slow puppet agent runs on empty/noop manifests (v3.2.1)

2013-05-23 Thread Keith Burdis
Are you running into the Socket.gethostbyname(Socket.gethostname) issue pointed out by Wil Cooley a few days ago? https://groups.google.com/forum/?fromgroups#!topic/puppet-dev/z09Nkk18tREhttps://groups.google.com/forum/?fromgroups#!topic/puppet-dev/z09Nkk18tRE If so there is potential

Re: [Puppet Users] puppet in an appliance model?

2013-05-19 Thread Keith Burdis
With PuppetDB 1.1 it is now possible to use exported resources when running puppet apply [1], though of course this still means having a central PuppetDB. This is not relevant for a single machine setup though, as you say. - Keith [1]

Re: [Puppet Users] Rhel based distro and multiple package version installed

2013-05-19 Thread Keith Burdis
Two options come to mind: 1) Install the JDK and Tomcat products from tarball into separate directories for each version which is what I do with erwbgy/sunjdkhttp://forge.puppetlabs.com/erwbgy/sunjdk and erwbgy/tomcat http://forge.puppetlabs.com/erwbgy/tomcat 2) Create custom packages for each

Re: [Puppet Users] Odd Issue with Ensure Latest

2013-05-16 Thread Keith Burdis
This is often an issue with the underlying yum command being executed. Try running: # puppet apply --verbose --debug --execute 'package {yum-plugin-versionlock: ensure = latest}' to see what is happening. On my host this shows that '/usr/bin/yum -d 0 -e 0 -y install yum-plugin-versionlock' is

Re: [Puppet Users] vim-puppet syntax highlight

2013-05-16 Thread Keith Burdis
Perhaps try: $ echo 'syntax on' ~/.vimrc - Keith On 16 May 2013 15:27, Balasubramaniam Natarajan bala150...@gmail.comwrote: Hi I am trying to install vim-puppet for syntax highlight of puppet manifest file. I first installed vim-puppet and then vim. Then I ran vim-addon-manager -w

Re: [Puppet Users] Odd Issue with Ensure Latest

2013-05-16 Thread Keith Burdis
' notice: Finished catalog run in 3.42 seconds On Thursday, May 16, 2013 10:12:33 AM UTC-4, Keith Burdis wrote: This is often an issue with the underlying yum command being executed. Try running: # puppet apply --verbose --debug --execute 'package {yum-plugin-versionlock: ensure = latest

Re: [Puppet Users] Manual run with specific class

2013-05-16 Thread Keith Burdis
Perhaps try: # puppet apply --execute 'include manual' - Keith On 16 May 2013 21:40, Nev neva...@gmail.com wrote: I need to be able to run a certain class ONLY when it is called manually from the client. I created a class named manual and can run it from the client like this: puppet

Re: [Puppet Users] Manual run with specific class

2013-05-16 Thread Keith Burdis
, Keith Burdis wrote: Perhaps try: # puppet apply --execute 'include manual' - Keith On 16 May 2013 21:40, Nev nev...@gmail.com wrote: I need to be able to run a certain class ONLY when it is called manually from the client. I created a class named manual and can run it from the client

Re: [Puppet Users] Re: Design pattern for exported resources from EC2 autoscaled instances

2013-04-29 Thread Keith Burdis
You should be able to cluster Tomcat without using multicast by having a static members list with TCP pings to check the cluster nodes. You could of course use exported resources to create the static members list. Not sure about Glassfish but I'd expect it to be possible to do something similar

Re: [Puppet Users] checking puppet run status of node A during puppet run of node B

2013-04-29 Thread Keith Burdis
I don't believe there is any existing Puppet functionality that does this though the Capabilities armaturehttps://github.com/puppetlabs/armatures/blob/master/arm-6.capabilities/capabilities.md discusses a potential future solution. You might find

Re: [Puppet Users] Udefined method `get_uptime` for Facter::Util::Uptime:Module

2013-04-22 Thread Keith Burdis
Is the time set correctly on these hosts? If not then I'd suggest synchronising them with an NTP time server like those at pool.NTP.org. - Keith On 22 Apr 2013 17:54, Przemek p.slodkiew...@gmail.com wrote: Hi, I'm rookie puppet user and I trying to establish simple Server-Client connection

Re: [Puppet Users] Puppet 3.1, Hiera and a class parameter called service

2013-04-17 Thread Keith Burdis
Perhaps try using the str2bool function from puppetlabs-stdlib [1]. - Keith [1] https://github.com/puppetlabs/puppetlabs-stdlib On 17 Apr 2013 18:09, Matthias Saou matth...@saou.eu wrote: Hi, I'm trying to clean up some manifests by moving class parameters which I change globally to Hiera

Re: [Puppet Users] facter doesn't load from /ect/facter/facts.d

2013-04-13 Thread Keith Burdis
From that page: External facts are only available in Facter 1.7 and later. I expect you need to either upgrade or install the stdlib module. - Keith On 13 Apr 2013 15:18, Larry Fast lfast1...@gmail.com wrote: I'm trying to load custom facts via /etc/facter/facts.d/* according to

Re: [Puppet Users] puppet 3.x, rubygem pkg can't be found on a RHEL 6.4

2013-04-11 Thread Keith Burdis
Try running: # yum-config-manager --enable rhel-6-server-optional-rpms - Keith On 10 April 2013 10:04, Yusup Ashrap aph...@gmail.com wrote: I have having the same problem with install puppet on redhat 6.2. -- You received this message because you are subscribed to the Google Groups

Re: [Puppet Users] ssh_authorized_key errors in RHEL6

2013-04-03 Thread Keith Burdis
The permissions of /tmp should be 1777 so that all users can create files but the sticky bit is set. Setting the sticky bit ensures that files and directories under /tmp can only be renamed or deleted by the user that owns them. - Keith On 3 April 2013 00:41, Kubes

Re: [Puppet Users] Encrypt Passwords in Manifests

2013-04-03 Thread Keith Burdis
If you use hiera try Craig Dunn's hiera-gpghttp://www.craigdunn.org/2011/10/secret-variables-in-puppet-with-hiera-and-gpg/ . - Keith On 3 April 2013 14:18, jim stra...@gmail.com wrote: Hello all I mainly use Puppet for managing windows hosts, and what to know they best way to either

Re: [Puppet Users] Staging content from modules for temporary use by resources

2013-04-02 Thread Keith Burdis
...@bravo5.org wrote: On Mar 28, 2013, at 10:56 AM, Keith Burdis ke...@burdis.org wrote: Today I started using Jordan Sissel's fpm [1] to build multiple rpms for each tomcat instance with a different prefix - something like: This seems like a good opportunity to use CATALINA_BASE for multiple

Re: [Puppet Users] Re: puppet 3 hiera configs hiding somewhere

2013-03-28 Thread Keith Burdis
Yes, perhaps try: # chown -R puppet:puppet /etc/puppet /var/lib/puppet - Keith On 28 Mar 2013 05:27, Nick Fagerlund nick.fagerl...@puppetlabs.com wrote: On Wednesday, March 27, 2013 6:22:05 PM UTC-7, Philip Brown wrote: nope, nothing. I tried your suggestion of explicitly setting it.

Re: [Puppet Users] Re: puppet 3 hiera configs hiding somewhere

2013-03-28 Thread Keith Burdis
On 28 Mar 2013 01:22, Philip Brown p...@bolthole.com wrote: On Wed, Mar 27, 2013 at 2:10 PM, Nick Fagerlund nick.fagerl...@puppetlabs.com wrote: ... to keith's suggestion, of Also you can use the hiera command-line utility [1] to test - for example: # hiera --debug philcheck::value

Re: [Puppet Users] Staging content from modules for temporary use by resources

2013-03-28 Thread Keith Burdis
I have been using the file, exec approach for my modules but transferring big zip or tar files is a pain because they take up space, as you say, and sometimes the transfer times out when the files are really big. Today I started using Jordan Sissel's fpm [1] to build multiple rpms for each tomcat

Re: [Puppet Users] puppet 3 hiera configs hiding somewhere

2013-03-27 Thread Keith Burdis
Perhaps try: # ln -sf /etc/puppet/hiera.yaml /etc/hiera.yaml Also you can use the hiera command-line utility [1] to test - for example: # hiera --debug philcheck::value - Keith [1] http://docs.puppetlabs.com/hiera/1/command_line.html On 27 March 2013 18:29, Philip Brown

Re: [Puppet Users] puppet 3.x, rubygem pkg can't be found on a RHEL 6.4

2013-03-27 Thread Keith Burdis
You need to enable the optional repository. On 27 Mar 2013 21:38, T.J. Yang tjyang2...@gmail.com wrote: Hi, I followed puppetlab procedure to install open source version of puppet agent 3.x. It works for CentOS 6.4 but not RHEL 6.4, anyone has pointer where I missed ? [root@mon04 ~]# yum

Re: [Puppet Users] Can't convert Puppet::Util::Log into Integer

2013-03-26 Thread Keith Burdis
The agent only writes logs under /var/log/puppet if you run it as a service - for example using: $ service puppet once (Note that due to buffering it may take a few seconds for entries to appear in puppet.log.) There are a number of existing issues that could be related to your problem

Re: [Puppet Users] err: Could not retrieve catalog from remote server: Error 400 on SERVER: Error 403 on SERVER: Forbidden request:

2013-03-25 Thread Keith Burdis
guide. Is there a way to let puppetlabs know that there is a problem during the evaluation period? On Sat, Mar 23, 2013 at 4:18 AM, Keith Burdis ke...@burdis.org wrote: Puppet runs fine on RHEL 6.2. It looks like your auth.conf is missing some entries. Do you perhaps have

Re: [Puppet Users] err: Could not retrieve catalog from remote server: Error 400 on SERVER: Error 403 on SERVER: Forbidden request:

2013-03-25 Thread Keith Burdis
as per the PE 2.7 quickstart guide. Is there a way to let puppetlabs know that there is a problem during the evaluation period? On Sat, Mar 23, 2013 at 4:18 AM, Keith Burdis ke...@burdis.org wrote: Puppet runs fine on RHEL 6.2. It looks like your auth.conf is missing some entries. Do you

Re: [Puppet Users] err: Could not retrieve catalog from remote server: Error 400 on SERVER: Error 403 on SERVER: Forbidden request:

2013-03-23 Thread Keith Burdis
Puppet runs fine on RHEL 6.2. It looks like your auth.conf is missing some entries. Do you perhaps have an auth.conf.rpmnew you need to move into place? - Keith Hi All, I am trying to follow the documentation at this link: http://docs.puppetlabs.com/pe/latest/quick_start.html When I get to

Re: [Puppet Users] Re: syntax problems trying to use Keith Burdis's erwbgy/system module without Hiera

2013-03-22 Thread Keith Burdis
Good news. I'd encourage people to file bug or feature requests on GitHub if they run into problems or have ideas for improvements. Tutorial documentation is coming Real Soon Now (TM) :-) - Keith On 22 March 2013 15:46, John Smith burnncrash...@gmail.com wrote: thank you very much!!!

Re: [Puppet Users] disable puppet hostname resolution in standalone

2013-03-22 Thread Keith Burdis
Try adding an entry for your hostname in /etc/hosts - for example: 127.0.0.1 server1 - Keith On 22 Mar 2013 08:38, bibop554 bibop...@gmail.com wrote: Hi, I am using puppet 2.6.2-5 in debian 6.0.3. I would like to execute puppet in standalone, with puppet apply, but puppet does not

Re: [Puppet Users] Re: syntax problems trying to use Keith Burdis's erwbgy/system module without Hiera

2013-03-22 Thread Keith Burdis
burnncrash...@gmail.com wrote: On Friday, March 22, 2013 8:54:50 AM UTC-7, Keith Burdis wrote: Good news. I'd encourage people to file bug or feature requests on GitHub if they run into problems or have ideas for improvements. Tutorial documentation is coming Real Soon Now (TM) :-) - Keith

Re: [Puppet Users] What's your hiera tree look like?

2013-03-22 Thread Keith Burdis
Hi Andy, When trying to implement something like Craig Dunn's roles and profiles pattern with hiera I ended up with: :hierarchy: - %{hostname} - roles/%{role} - profiles/%{software1} - profiles/%{software2} - profiles/%{software3} - profiles/%{software4} - profiles/%{software5} -

Re: [Puppet Users] Puppet 3.1.1 failing to generate Private Key Certificate: Permission denied - /etc/puppet/ssl/ca/ca_key.pem

2013-03-21 Thread Keith Burdis
The Puppet master runs as the puppet user so try: # chown -R puppet:puppet /etc/puppet - Keith On 13 March 2013 19:42, Mike Canty cantyma...@yahoo.com wrote: Successfully installed Puppet 3.1.1 under Centos 6. When trying to start puppet as the root user, puppet generates the following

Re: [Puppet Users] exec resource not refreshed when subscribed resource changes

2013-03-21 Thread Keith Burdis
:25 AM, Keith Burdis wrote: 2) Adding refreshonly = true to the exec. 3) Remove the creates and subscribe from the exec. The subscribe is actually fine, but yes - the 'creates' needs to go in order to allow repeated execution. Note that this can be considered unclean manifest design

Re: [Puppet Users] Can't get past Permission denied error

2013-03-18 Thread Keith Burdis
The master runs as the puppet user not root so try: # chown -R puppet:puppet /etc/puppet - Keith On 14 Mar 2013 15:09, Mike Canty cantyma...@yahoo.com wrote: I am running Centos 6 and was able to install Puppet 3.1.1. However, when trying to run puppet, as root, for the first time, I

Re: [Puppet Users] Help me wrap my head around Yaml/Hiera with erwbgy/system

2013-03-15 Thread Keith Burdis
Hi Byron, Some suggestions: 1) Hiera comes with a handy command-line tool to query your config so try using that first. What does running: # hiera -h system::augeas return? If it returns the ntp hash then your hiera config is good. 2) If not, are /etc/hiera.yaml and /etc/puppet/hiera.yaml

Re: [Puppet Users] Re: Help me wrap my head around Yaml/Hiera with erwbgy/system

2013-03-15 Thread Keith Burdis
The great thing about Puppet is that it gives you lots of different ways to manage your host data. Personally I am a big fan of hiera and its YAML backend because it is simple for non-Puppet users to understand and allows them to manage the config without having to write or modify Puppet

Re: [Puppet Users] Host name lookup failure

2013-03-15 Thread Keith Burdis
The Puppet agent tries to connect to the master using the hostname 'puppet' by default so one solution may be to add an /etc/hosts entry for 'puppet' with the correct IP for your Puppet master: * # echo “your puppet master ip puppet” /etc/hosts* * * For example:* * # echo 10.0.67.1 puppet

Re: [Puppet Users] exec resource not refreshed when subscribed resource changes

2013-03-14 Thread Keith Burdis
Perhaps try: 1) Adding a notify = Exec['unpack_archive'] to the file resource. 2) Adding refreshonly = true to the exec. 3) Remove the creates and subscribe from the exec. That way the exec will only be called when the file changes. - Keith On 14 Mar 2013 07:56, dirk.heinri...@altum.de

Re: [Puppet Users] dependency problem when apply class

2013-03-09 Thread Keith Burdis
There is no user type declared in the users class. Perhaps move the user type call out of the adm_user define. On 9 Mar 2013 17:57, mike miguelc...@gmail.com wrote: Hi guys, I need help with the class, i have created my class (users) but when i apply from agent apers the next error:

Re: [Puppet Users] Boolean in hiera... problems again

2013-03-06 Thread Keith Burdis
I am running 3.1.0 and hiera booleans appear to be working fine. - Keith On 6 March 2013 09:15, Richard Clark rich...@fohnet.co.uk wrote: On Wed, Mar 06, 2013 at 01:29:29PM +1000, Peter Brown wrote: Getting booleans from hiera to puppet is not currently not functioning like you would

Re: [Puppet Users] I moved my modules and manifest directory in puppet master.

2013-03-04 Thread Keith Burdis
Perhaps Puppet is not using the puppet.conf file you think it is. Try running: # puppet agent --configprint confdir - Keith On 4 Mar 2013 20:49, JGonza1 jgonza1...@gmail.com wrote: I also made the changes below in the puppet.conf file to tell puppet where to look for the the modules and

Re: [Puppet Users] Re: I moved my modules and manifest directory in puppet master.

2013-03-04 Thread Keith Burdis
Ok so Puppet is reading /etc/puppet/puppet.conf. The timestamp on this file shows is hasn't been changed for a few days though. Is the output of: # puppet agent --configprint moduledir # puppet agent --configprint manifestdir on the master what you expect? Perhaps you have a permissions /

Re: [Puppet Users] Re: I moved my modules and manifest directory in puppet master.

2013-03-04 Thread Keith Burdis
What section of /etc/puppet/puppet.conf is your moduledir etc set in? This should be in [main] or [master] - see the 'Config Blocks' section in the docs. Alternatively perhaps the master has not actually been restarted somehow and is still using the old config. - Keith On 4 Mar 2013 21:54,

Re: [Puppet Users] how to implement cascading defaults based on puppet classes

2013-02-10 Thread Keith Burdis
Have you looked at using hiera [1] for your configuration? It is very good for cascading defaults with more specific config at the top of the hierarchy and the least specific at the bottom. It is part of Puppet 3 and an add on for 2.7. - Keith [1]

Re: [Puppet Users] Re: RFC: Default File Permissions

2013-02-08 Thread Keith Burdis
Since it would apply to more than just permissions perhaps 'source_attributes' would be better? - Keith On 9 Feb 2013 01:21, Jakov Sosic jso...@srce.hr wrote: On 02/08/2013 06:46 PM, Josh Cooper wrote: Hi John, On Fri, Feb 8, 2013 at 9:22 AM, jcbollinger john.bollin...@stjude.org wrote:

Re: [Puppet Users] Is it possible to enable SSL tracing on the master and agent?

2013-02-04 Thread Keith Burdis
If you are running the master under mod_passenger then you can set 'LogLevel debug'. On 3 February 2013 04:29, Schofield dbschofi...@gmail.com wrote: I would like to see the SSL handshake between the master and agent. How do I enable this? -- You received this message because you are

Re: [Puppet Users] Re: mcollective puppetd plugin does not work

2013-02-01 Thread Keith Burdis
I can't check at the moment but shouldn't that be 'mco puppet runonce fqdn= puppet.example.net' ? - Keith On 1 February 2013 11:23, snlsingha...@gmail.com wrote: Hey i have installed mcollective server cleint and puppet master, agent successfully. I have also installed puppet agent plugin.

Re: [Puppet Users] Puppet service

2013-01-31 Thread Keith Burdis
Try running the Puppet agent manually with 'puppet agent --test --verbose'. The output should indicate what is preventing it from starting. - Keith On 31 Jan 2013 09:44, Mamta Garg itsmamta.b...@gmail.com wrote: Please find now. On Wed, Jan 30, 2013 at 4:49 PM, Nikola Petrov

Re: [Puppet Users] Puppet service

2013-01-31 Thread Keith Burdis
Run it where you were getting the error you posted. - Keith On 31 Jan 2013 09:59, Mamta Garg itsmamta.b...@gmail.com wrote: So this command i should run it on master machine? On Thu, Jan 31, 2013 at 4:53 AM, Keith Burdis ke...@burdis.org wrote: Try running the Puppet agent manually

Re: [Puppet Users] Puppet service

2013-01-31 Thread Keith Burdis
as in screeshot but All nodes are still showing unresponsive. On Thu, Jan 31, 2013 at 5:05 AM, Keith Burdis ke...@burdis.org wrote: Run it where you were getting the error you posted. - Keith On 31 Jan 2013 09:59, Mamta Garg itsmamta.b...@gmail.com wrote: So this command i should run

Re: [SUSPECTED SPOOFING] [Puppet Users] how to get report or last_run_report

2013-01-31 Thread Keith Burdis
Perhaps 'puppet node' is what you're looking for? $ sudo puppet node status $(facter fqdn) [sudo] password for kburdis: lnxmgt-01.domain Currently active Last catalog: 2013-01-31T14:57:22.518Z Last facts: 2013-01-31T14:57:14.732Z To get more info you'll can install PuppetDB and that's as simple

Re: [Puppet Users] Re: Calling a subclass correctly in a node def?

2013-01-31 Thread Keith Burdis
If you like the style guide the you'll like puppet-lint - https://github.com/rodjek/puppet-lint - Keith On 31 January 2013 16:15, Kodiak Firesmith kfiresm...@gmail.com wrote: I figured this out via taking another look at the style guide. This is resolved. Changed this to this: class

Re: [Puppet Users] Re: Calling a subclass correctly in a node def?

2013-01-31 Thread Keith Burdis
-5, Keith Burdis wrote: If you like the style guide the you'll like puppet-lint - https://github.com/rodjek/**puppet-linthttps://github.com/rodjek/puppet-lint - Keith On 31 January 2013 16:15, Kodiak Firesmith kfire...@gmail.com wrote: I figured this out via taking another look

Re: [Puppet Users] Re: Reusable Puppet config for Vagrant

2013-01-30 Thread Keith Burdis
Thank you both for sharing details of your Vagrant setups. This will certainly save me some time. - Keith On 30 Jan 2013 07:01, Felipe Salum fsa...@gmail.com wrote: I have done something similar, installing puppet master, puppetdb and a few nodes for testing, everything via vagrant.

Re: [Puppet Users] Puppet 3.02 issue

2013-01-30 Thread Keith Burdis
The puppet master runs as the puppet user so try 'chown -R puppet:puppet /etc/puppet /var/log/puppet /var/lib/puppet'. - Keith On 30 Jan 2013 18:39, Raymond Regnier raymondregn...@gmail.com wrote: Hey all, this is my first post. I did try and search the group first before posting :) I've

Re: [Puppet Users] Puppet 3.02 issue

2013-01-30 Thread Keith Burdis
that.. so now its owned by puppet:puppet -rw-rw however it still gives me the same errror On Wednesday, January 30, 2013 1:49:36 PM UTC-5, Keith Burdis wrote: The puppet master runs as the puppet user so try 'chown -R puppet:puppet /etc/puppet /var/log/puppet /var/lib/puppet'. - Keith On 30

Re: [Puppet Users] Puppet 3.02 issue

2013-01-30 Thread Keith Burdis
a service puppetmaster status it states puppet dead but pid file exists. I manually delete the pid file and it does the same thing On Wednesday, January 30, 2013 2:00:27 PM UTC-5, Keith Burdis wrote: Try 'service puppetmaster restart' and see if you get any logs under /var/logs/puppet

Re: [Puppet Users] Cron job based on gateway

2013-01-29 Thread Keith Burdis
Here's one way: 1) Install the erwbgy/system module: # puppet module install erwbgy/system 2) Configure a custom fact using facter_dot_d for the default gateway: include system::schedules $config = { 'default_route' = { 'type' = 'script', 'value' = #!/bin/bash\nprintf

Re: [Puppet Users] Extending a standard type

2013-01-28 Thread Keith Burdis
You can set the default values to undef and then the standard user type will use its defaults (if any). It usually makes sense to default the ensure parameter to 'present' though because if it is undef then nothing will happen: define site::user ( $ensure = 'present',

Re: [Puppet Users] Puppet issues

2013-01-28 Thread Keith Burdis
When you specify include sysctl then Puppet includes the sysctl class and this class only ensures that the /etc/sysctl.conf file exists: class sysctl { file { /etc/sysctl.conf: ensure = present, owner = root, group = root, mode = 0644, } } which it