Re: [Puppet Users] Re: Home directory dependency problems

2012-12-30 Thread Stuart Cracraft
J slavetonagios: Can you give the group more detail about how it helped you? Stuart On Dec 30, 2012, at 6:36 PM, j wrote: > I'm sorry for the late reply. I've been on holiday. Your suggestion was > exactly what I needed and has helped me in more ways than just the users > module. Thank you s

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

2012-12-30 Thread Mike Rochford
It looks like I need to file a bug report as Oracle change the name of their linux distribution. def check_manage_home cmd = [] if @resource.managehome? cmd << "-m" elsif %w{Fedora RedHat CentOS OEL OVS}.include?(Facter.value(:operatingsystem)) cmd << "-M" end cmd

[Puppet Users] Re: Home directory dependency problems

2012-12-30 Thread j
I'm sorry for the late reply. I've been on holiday. Your suggestion was exactly what I needed and has helped me in more ways than just the users module. Thank you so much! -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion

Re: [Puppet Users] How does facter get ipaddress?

2012-12-30 Thread Ashley Penney
On Sun, Dec 30, 2012 at 12:08 PM, Mandla Mbuli wrote: > > Hi > > I am running a version 'facterversion => 2.0.0-rc4' do you know if this > uses /sbin/ip? > does it adapt for ArchLinux which uses puts it in /usr/sbin/ip (judgin > from `which ip`) > `facter ipaddress` and `facter fqdn` don't work f

Re: [Puppet Users] exec type doesn't refresh when onlyif is in use

2012-12-30 Thread Jason Edgecombe
On 12/30/2012 04:30 PM, Ramin K wrote: On 12/30/2012 6:47 AM, Jason Edgecombe wrote: I've thought about that. This is a basically a service, but I can have multiple instances of the process running with different configurations. As I understand, I would need to create a new service script for e

Re: [Puppet Users] exec type doesn't refresh when onlyif is in use

2012-12-30 Thread Ramin K
On 12/30/2012 6:47 AM, Jason Edgecombe wrote: I've thought about that. This is a basically a service, but I can have multiple instances of the process running with different configurations. As I understand, I would need to create a new service script for each instance. Jason We manage many i

Re: [Puppet Users] Puppet cloud provisioning and VMware mac address allocation?

2012-12-30 Thread Ohad Levy
On Sun, Dec 30, 2012 at 7:58 PM, wrote: > Hi all, > > I've been working on fully automating the VM provisioning for some months > now and one piece I could not resolve yet is to automate the dhcp/dns > automation and just because I cannot obtain the VM mac address that > vsphere/vcenter will allo

[Puppet Users] Puppet cloud provisioning and VMware mac address allocation?

2012-12-30 Thread mbianco
Hi all, I've been working on fully automating the VM provisioning for some months now and one piece I could not resolve yet is to automate the dhcp/dns automation and just because I cannot obtain the VM mac address that vsphere/vcenter will allocate to a new vm. I am aware of 3rd party tools s

Re: [Puppet Users] How does facter get ipaddress?

2012-12-30 Thread Mandla Mbuli
Hi I am running a version 'facterversion => 2.0.0-rc4' do you know if this uses /sbin/ip? does it adapt for ArchLinux which uses puts it in /usr/sbin/ip (judgin from `which ip`) `facter ipaddress` and `facter fqdn` don't work for me. I don't know how to troubleshoot. I just started really re

Re: [Puppet Users] exec type doesn't refresh when onlyif is in use

2012-12-30 Thread Jason Edgecombe
On 12/30/2012 07:53 AM, Erik Dalén wrote: Wouldn't it be easier to use a service definition with the base provider and supply your start, restart & status commands? On 30 December 2012 03:27, Jason Edgecombe wrote: Hi, I'm having trouble with an exec type. I'm using an exec type to start a

Re: [Puppet Users] exec type doesn't refresh when onlyif is in use

2012-12-30 Thread Erik Dalén
Wouldn't it be easier to use a service definition with the base provider and supply your start, restart & status commands? On 30 December 2012 03:27, Jason Edgecombe wrote: > Hi, > > I'm having trouble with an exec type. I'm using an exec type to start a > buildbot slave. It's a long-running ps