[Puppet Users] user creation in puppet nodes through PUPPET Master

2015-01-20 Thread prasanthr021
Hi I am a beginner in Puppet.. I want to create a user in 2 puppet nodes through puppet master. can anyone help in this. I need to know the path where I should save this code in puppet master Thanks -- You received this message because you are subscribed to the Google Groups "Puppet U

[Puppet Users] Upgrade

2015-01-20 Thread Don Dorman
Has anyone found documentation on upgrading Puppet 3.4.3 to Puppet 3.6.2. running on RHEL 6.4 I have found some documents, but nothing simple and clearly defined. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group

Re: [Puppet Users] Upgrade

2015-01-20 Thread Dirk Heinrichs
Am 20.01.2015 um 13:39 schrieb Don Dorman: > Has anyone found documentation on upgrading Puppet 3.4.3 to Puppet > 3.6.2. running on RHEL 6.4 First update the server, then agent nodes. You can use Puppet to update the agents (I've written myself a small module to do that). > I have found some doc

Re: [Puppet Users] Upgrade

2015-01-20 Thread Don Dorman
Thanks for the very prompt respo0nse. So respectively on the Puppet Master I have copied Puppet 3.6.2 to /var/data/Puppet. I have the RHEL 6.4.iso mounted to /mnt So I am guessing to upgrade the Master it should be as simple as yum upgrade puppet-server-3.6.2-1.el6.noarch.rpm and yum upgrade p

Re: [Puppet Users] Upgrade

2015-01-20 Thread Dirk Heinrichs
Am 20.01.2015 um 13:53 schrieb Don Dorman: > So respectively on the Puppet Master I have copied Puppet 3.6.2 to > /var/data/Puppet. I have the RHEL 6.4.iso mounted to /mnt > > So I am guessing to upgrade the Master it should be as simple as yum > upgrade puppet-server-3.6.2-1.el6.noarch.rpm > > an

Re: [Puppet Users] Conditional Require For File Type

2015-01-20 Thread jcbollinger
On Friday, January 16, 2015 at 12:48:19 PM UTC-6, Weeve wrote: > > On Thu, Jan 15, 2015 at 9:53 AM, jcbollinger > wrote: > > > > In any case, if $foo does not resolve to a class or resource reference, > then > > why does catalog building succeed? (Or perhaps the problem actually > > manife

Re: [Puppet Users] user creation in puppet nodes through PUPPET Master

2015-01-20 Thread Johan De Wit
On 20/01/15 11:57, prasanthr...@gmail.com wrote: Hi I am a beginner in Puppet.. I want to create a user in 2 puppet nodes through puppet master. can anyone help in this. I need to know the path where I should save this code in puppet master Thanks -- You received this message because you

Re: [Puppet Users] user creation in puppet nodes through PUPPET Master

2015-01-20 Thread Felix Frank
On 01/20/2015 03:45 PM, Johan De Wit wrote: > http://puppetlabs.com/download-learning-vm > > Enjoy the journey Beat me to the punch. See you soon, Johan! Best, Felix -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this gr

[Puppet Users] Behavior of exported resource collectors

2015-01-20 Thread Martin Alfke
Hi, I have the following code: define monitor::host ( $target, $monitortag = $::domain, ) { } … } The define gets exported on all nodes: @@monitor::host { $::fqdn: } And I collect on the monitor server: Monitor::Host <<| |>> { target => ‘/full path to config’, } This is working as expe

Re: [Puppet Users] Resource ordering syntax

2015-01-20 Thread jcbollinger
On Monday, January 19, 2015 at 5:33:26 AM UTC-6, Andrew Langhorn wrote: > > Thanks Martin! That makes sense. > Is it not possible to refer to the entire resource, then, when the title > is used as the declaration? > > I don't understand the question. It is not possible to refer to *less than*

Re: [Puppet Users] Upgrade

2015-01-20 Thread Don Dorman
I would love to take a look at your module. On Tuesday, 20 January 2015 07:46:57 UTC-5, Dirk Heinrichs wrote: > > Am 20.01.2015 um 13:39 schrieb Don Dorman: > > Has anyone found documentation on upgrading Puppet 3.4.3 to Puppet > 3.6.2. running on RHEL 6.4 > > > First update the server, then ag

Re: [Puppet Users] Conditional Require For File Type

2015-01-20 Thread Jason Wever
On Tue, Jan 20, 2015 at 9:40 AM, jcbollinger wrote: > There seems to be a bit of a terminology gap here. Class['a'] does not > "have" a service.pp in any useful sense of the term. I suppose you probably > mean that module 'a' has a class or defined type "a::service" whose > definition resides in

Re: [Puppet Users] Re: File 'replace => false' doesn't match my expectations...

2015-01-20 Thread Marc
Using 'replace => false' should not trigger a checksum operation but given the time it takes with big files I think it does. Does it make sense to perform checksum when 'replace' is set to false? * exec { 'wget -O - http://repo01.demo.lan/coreos/coreos_qemu.img.bz2 | bzcat > /root/coreos/core01

[Puppet Users] Using Ruby puppet db library - syntax question

2015-01-20 Thread JonY
I'm hoping to use this library (or something similar) to request a single fact from all nodes. The equiv curl request would be 'curl -X GET http://host:8080/v3/facts --data-urlencode 'query=["=","name","fs_space"]'. I've been looking at the docs on 'https://github.com/puppetlabs/puppetdb-ruby'

[Puppet Users] invoke-rc.d errors - what happened to this system?

2015-01-20 Thread JonY
Debian 6 machine running 3.7.1. Attempts to run 'puppet agent --test' give a stream of errors like this: invoke-rc.d: WARNING: 'invoke-rc.d dnsmasq start' called invoke-rc.d: during shutdown sequence. invoke-rc.d: enabling safe mode: initscript policy layer disabled. If I do a 'service dnsmasq

[Puppet Users] Re: invoke-rc.d errors - what happened to this system?

2015-01-20 Thread JonY
Looking at the debug log it appears that puppet is calling '/etc/init.d/dnsmasq status' before this message appears.. but when I enter the same command subsequently I'm told ''running'. and nothing else. Similar messages appear for puppet, ifplugd, apache2.. every service that I monitor with pu