[Puppet Users] Re: Trying to use a facter information in manifest.

2012-12-28 Thread Luke Bigum
On Thursday, December 27, 2012 11:12:36 PM UTC, JGonza1 wrote: > I am trying to use information that facter gathers on the agent server in > the manifest. I am trying to use "domain => dev.com" depending on what > domain is I deploy the file. I ran the manifest and it did not give me an > error

[Puppet Users] Re: Trying to use a facter information in manifest.

2012-12-28 Thread Keiran Sweet
Hi There, Luke beat me to the punch, but I'd already typed this up so I figured I'd send it anyway. You are going about some of these tasks the wrong way a little, and you should probably have a read of the following: * Learning Puppet - http://docs.puppetlabs.com/learning/index.html * Pro Puppe

[Puppet Users] Re: Trying, Trying and Trying and still cannot make puppet and client work :-(

2012-12-28 Thread Keiran Sweet
Hi There, A couple of suggestions if you are starting to learn Puppet. * Build an environment where you are using the same major release of the software, ie All 3.x or 2.7 master/clients Although it is supported to have masters running later versions, consistency is key when you are learning th

Re: [Puppet Users] How do I check content of a file in puppet

2012-12-28 Thread Keiran Sweet
Hi, Although I've never used it, this does sound like a task for the auditing functionality that was added into Puppet 2.6. Some information about it can be found here: http://puppetlabs.com/blog/all-about-auditing-with-puppet/ You may also find the Puppet enterprise documentation on audit and

[Puppet Users] Re: problem with restart a service when a file changes

2012-12-28 Thread Kazor
Thaks Joe, My problem was the sintax on command that was not correct, i solved this and the agent running without problem. [...] *# define the service to restart* *exec { "zmamavisdctl":* *user=> 'zimbra',* *refreshonly => true,* *command => '/opt/zimbra/bin/zman

Re: [Puppet Users] How do I check content of a file in puppet

2012-12-28 Thread pdiddy
Thanks everyone, I will look into these options...I will write back in few days... On Friday, December 28, 2012 7:36:31 AM UTC-5, Keiran Sweet wrote: > > Hi, > Although I've never used it, this does sound like a task for the auditing > functionality that was added into Puppet 2.6. > Some informa

Re: [Puppet Users] generate() function help

2012-12-28 Thread Jakov Sosic
On 12/28/2012 12:37 AM, Jakov Sosic wrote: I've found that already. But I've decided to write my own function which returns path to current module directory. If that doesn't succeed then I'll use get_module_path. Hm, I'm having problems with writing custom functions... One question first - is

[Puppet Users] Resource collector problem

2012-12-28 Thread Dan White
Puppet 3.0.2 I define a virtual user resource (@users::useraccount) with tags and then try to realize them with a resource collector (spaceship operator) Here's the problem: If I have tag => ['test'], and then Users::Useraccount <| tag == 'test' |> it works just fine. BUT ! if I ha

Re: [Puppet Users] Module to add another puppetmaster?

2012-12-28 Thread Matthew Black
Never used Netscalers but if its just as simple as adding a server to a pool like on the F5 device its something that can be given to a NOC or L2 resources to do. On Thu, Dec 27, 2012 at 10:27 PM, Tom Fox wrote: > Thanks. Good point about the cert. Unfortunately Netscalers are the standard > in m

Re: [Puppet Users] Broken rsync mirroring for PuppetLabs APT repo

2012-12-28 Thread Matthaus Owens
Arnaud, What flags are you passing to rsync? The README at http://apt.puppetlabs.com/README.txt offers a sample rsync command which includes the --copy-links flag. When I rsync using copy links, my dists directory looks like: total 0 drwxrwsr-x 7 matthaus staff 238 Dec 20 16:45 hardy drwxrwsr-x

[Puppet Users] Re: Trying, Trying and Trying and still cannot make puppet and client work :-(

2012-12-28 Thread Hoof Hearted
In addition to all that, one quick thing to lower the barrier to entry is to just start off with this in your default node: node default { notify {"hello world": } } On Friday, December 28, 2012 3:26:47 AM UTC-8, Keiran Sweet wrote: > > Hi There, > A couple of suggestions if you are starting

[Puppet Users] Using extlookup to set hostname

2012-12-28 Thread Rafi
I am using a masterless puppet 3.0 setup with EC2. Using extlookup, I intend to set a more meaningful hostname than the usual ip* and dom* names assigned by Amazon. My source csv file is setup as: publicdns,name ec2-184-73.compute-1.amazonaws.com,server-1 ec2-23-20.compute-2.amazonaws.com,serve

[Puppet Users] RHEL/Oracle Linux - user creation.

2012-12-28 Thread mike
I am trying to write a manifest that does not create the home directory for the user as it will be on a NAS volume. It seems that RHEL/Oracle requires your explicitly to use the "-M" options. Is there a way to do this with puppet? -- You received this message because you are subscribed to th

Re: [Puppet Users] module version support?

2012-12-28 Thread Schofield
> Or take it one step further and integrate your SCM and puppet ( > http://puppetlabs.com/blog/git-workflow-and-puppet-environments/ ), and > use an ENC such as dashboard, foreman, LDAP, etc to make changing the > environment a simple data change. This combination of things is the basis > tha

[Puppet Users] Re: RHEL/Oracle Linux - user creation.

2012-12-28 Thread 刘长元
user resource use managehome attribute to decide if need to create home directory. and it's default value is false, just try, you can check the results. On Saturday, December 29, 2012 4:38:07 AM UTC+8, mi...@mikerochford.com wrote: > > I am trying to write a manifest that does not create the h

RE: [Puppet Users] Re: RHEL/Oracle Linux - user creation.

2012-12-28 Thread John Guthrie
Also make certain that your shadow-utils package is up to date. Older package version had an issue where they didn't allow puppet to handle non-local user names very well. If your home directories are on a NAS, then I suspect that you might be running into a similar issue as well. I found tha