Re: [Puppet Users] Re: HP-UX Puppet Agent

2014-03-18 Thread Rick Copley
Hi, has anyone had success getting a puppet agent to run in HP-UX 11.31?
 

On Thursday, April 5, 2012 11:32:15 AM UTC-4, Justin Stoller wrote:



 On Thu, Apr 5, 2012 at 8:22 AM, Nan Liu n...@puppetlabs.com javascript:
  wrote:

 On Thu, Apr 5, 2012 at 2:57 PM, Michael Glatz 
 mfg...@gmail.comjavascript: 
 wrote:
  Removing the default group worked for the most part but I am still
  running into some issues
 
  It cataloged correctly and even ran the test class I created
 
  notice: Starting Puppet client version 2.7.12
  debug: Finishing transaction 545631632
  debug: Loaded state in 0.00 seconds
  processor - invalid major number
  usage: lsdev [-h] [-d driver | -C class] [-b block_major] [-c
  char_major]
  [-e major] [major] ...
  uname: illegal option -- p
  usage: uname [-amnrsvil] [-S nodename]
  debug: catalog supports formats: b64_zlib_yaml dot marshal pson raw
  yaml; using pson
  debug: Using cached certificate for ca
  debug: Using cached certificate for agent
  debug: Using cached certificate_revocation_list for ca
  info: Caching catalog for agent
  debug: Creating default schedules
  debug: Loaded state in 0.00 seconds
  info: Applying configuration version '1333637360'
  debug: /Schedule[daily]: Skipping device resources because running on
  a host
  debug: /Schedule[monthly]: Skipping device resources because running
  on a host
  debug: /Schedule[hourly]: Skipping device resources because running on
  a host
  notice: /Stage[main]/Core_permissions/File[/etc/fstab]/group: group
  changed 'sys' to 'root'
  debug: /Stage[main]/Core_permissions/File[/etc/fstab]: The container
  Class[Core_permissions] will propagate my refresh event
  notice: /Stage[main]/Core_permissions/File[/etc/crontab]/ensure:
  created
  debug: /Stage[main]/Core_permissions/File[/etc/crontab]: The container
  Class[Core_permissions] will propagate my refresh event
  notice: /Stage[main]/Core_permissions/File[/etc/passwd]/group: group
  changed 'sys' to 'root'
  notice: /Stage[main]/Core_permissions/File[/etc/passwd]/mode: mode
  changed '0444' to '0644'
  debug: /Stage[main]/Core_permissions/File[/etc/passwd]: The container
  Class[Core_permissions] will propagate my refresh event
  debug: /Stage[main]/Core_permissions/File[/etc/passwd]: The container
  Class[Core_permissions] will propagate my refresh event
  debug: Class[Core_permissions]: The container Stage[main] will
  propagate my refresh event
  debug: /Schedule[never]: Skipping device resources because running on
  a host
  debug: /Schedule[weekly]: Skipping device resources because running on
  a host
  debug: /Schedule[puppet]: Skipping device resources because running on
  a host
  debug: Finishing transaction 549485440
  debug: Storing state
  debug: Stored state in 0.04 seconds
  notice: Finished catalog run in 0.11 seconds
  debug: Value of 'preferred_serialization_format' (pson) is invalid for
  report, using default (yaml)
  debug: report supports formats: b64_zlib_yaml marshal raw yaml; using
  yaml
 
  I am now receiving this issue again
 
  mporting report report-14137-1.yaml at 2012-04-05 10:49 EDT
  undefined method `each' for nil:NilClass
  Backtrace
  /opt/puppet/share/puppet-dashboard/lib/puppet/report.rb:202:in
  `extended'
  /opt/puppet/share/puppet-dashboard/lib/puppet/report.rb:200:in `each'
  /opt/puppet/share/puppet-dashboard/lib/puppet/report.rb:200:in
  `extended'
  /opt/puppet/share/puppet-dashboard/lib/puppet/report.rb:114:in
  `extend'
  /opt/puppet/share/puppet-dashboard/lib/puppet/report.rb:114:in
  `extended'
  /opt/puppet/share/puppet-dashboard/app/models/report.rb:107:in
  `extend'
  /opt/puppet/share/puppet-dashboard/app/models/report.rb:107:in
  `create_from_yaml'
  /opt/puppet/share/puppet-dashboard/app/models/report.rb:86:in
  `create_from_yaml_file'

 If you are using ruby 1.9.1, it is known to be problematic:
 http://docs.puppetlabs.com/guides/faq.html

  Also it automatically added the node back to default, anyway to
  prevent that?

 Looks like there's a background task automatically adding nodes. I
 don't know a good way around this issue. You can move the pe-* class
 to another group but you will need to manually add nodes to that group
 afterwards.

 There's a cron job that calls a rake task that will automatically add 
 nodes that it knows about to the default group. You will most likely need 
 to 
 A) move the offending classes out of the default group as Nan suggests, or
 B) disable the cron job and manually add new nodes to the appropriate 
 groups, or
 C) write a new cron job/rake task that will only add the nodes you want.

 See /etc/cron.d/default-add-all-nodes

 on your PE console node.

 - Justin


 HTH,

 Nan

 --
 You received this message because you are subscribed to the Google Groups 
 Puppet Users group.
 To post to this group, send email to puppet...@googlegroups.comjavascript:
 .
 To unsubscribe from this group, send email to 
 puppet-users...@googlegroups.com javascript:.
 For more 

[Puppet Users] Re: puppet agent on HP unix os

2014-03-18 Thread Rick Copley
Hi Ryan, thanks very much for all the tips - I'm not sure why I didn't get 
notified when you posted this reply.
 
We got ruby and gem and rake installed from the Porting center, and we are 
working with our firewall team to allow outbound internet connections from 
our IA64 11.31 system so we can gem install  -version
 
Best regards,
 
Rick

On Friday, February 28, 2014 9:11:53 AM UTC-5, Ryan Anderson wrote:

 While I have not tried to get get puppet working on HP-UX, I have gotten 
 it to work on a number of other very old platforms by using ruby gems. If 
 you can get a working puppet-supported version of ruby on HP-UX, you are 
 most of the way there. Hopefully, you can get the ruby from a source that 
 already compiled and packaged it, otherwise you'll have to compile ruby on 
 your own, which isn't too bad if you have gnu tools from 
 http://hpux.connect.org.uk. Once you have ruby with gems support, the 
 steps are basically:

 * gem install --version version you want, or leave out for the latest 
 puppet
   * This will install 'puppet' and 'facter' within the case bin directory 
 ruby is in
 * Create /etc/puppet and /var/lib/puppet directories
 * Add a working /etc/puppet/puppet.conf
 * Run it as usual by hand: /your/path/bin/puppet agent -t
 * Create a puppet init script and place into /sbin/init.d, with links to 
 it inwhatever HP-UX uses

 The benefit of this approach is you get the latest 'n greatest puppet 
 version, and you can even use the package resource's gem provider (may need 
 to sym-link /your/path/bin/gem to /usr/bin/gem')  to update the gem in the 
 future if you so desire to keep all puppet versions the same.


 On Thursday, February 27, 2014 11:07:36 AM UTC-6, Rick Copley wrote:

 Hi has anyone done any more work on puppet for HP-UX 11.31?
  
 Or can someone point me to where I can download the opensource version of 
 puppet agent code so I can try to compile myself?

 On Friday, December 27, 2013 5:20:09 AM UTC-5, Ankit Mittal wrote:

 Dear All,

 Please help me if puppet agent installation is possible on hp unix os or 
 not.
 If it is possible please tell how to installed it


 Thanks and Regrads

 Ankit Mittal



-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/08bda691-685e-42f2-ba4a-2bd08680b4aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[Puppet Users] Windows msi needed to udpate dns server list

2014-03-18 Thread Rick Copley
Hi,
 
I have a large number of windows server systems that use static IP 
addresses (no dhcp) and I need to update the dns server IP address list.
 
Does anyone have a suggestion of how to do this using and msi?  I plan to 
use the puppet agent to run the msi to make the updates, but if someone has 
a different suggestion on puppet to mange that list of IP addresses on 
windows, we are open to suggestions !!
 
Best regards,
 
Rick
 

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/efb0ff70-9694-40fe-85f5-48252149ce5a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[Puppet Users] Re: puppet agent on HP unix os

2014-02-27 Thread Rick Copley
Hi has anyone done any more work on puppet for HP-UX 11.31?
 
Or can someone point me to where I can download the opensource version of 
puppet agent code so I can try to compile myself?

On Friday, December 27, 2013 5:20:09 AM UTC-5, Ankit Mittal wrote:

 Dear All,

 Please help me if puppet agent installation is possible on hp unix os or 
 not.
 If it is possible please tell how to installed it


 Thanks and Regrads

 Ankit Mittal


-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/d9f7c45a-1239-4b34-a82a-9dcbe7934b0b%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.