[Puppet Users] puppetlabs/openstack

2013-08-29 Thread Thomas Bendler
Hi @all,

I'm trying to setup an openstack test cluster with one controller node and
three compute nodes. Therefor I've used the puppetlabs openstack modules.
On the controller node I've used:


   - openstack::auth_file
   - openstack::controller
   - openstack::repo
   - openstack::repo::yum_refresh
   - openstack::test_file


On the compute node I've used:


   - openstack::compute
   - openstack::repo
   - openstack::repo::yum_refresh


The configuration is completely done with parameters. On the controller
node I specified the following parameters (the rest remain default as
specified in params.pp):

openstack::auth_file admin_password s3cret
openstack::controlleradmin_emailjohn.doe@example.local
 admin_password s3cret
 bridge_interface   eth1
 cinder_db_password s3cret
 cinder_user_password   s3cret
 floating_range 172.17.0.128/25
 glance_api_servers 127.0.0.1:9292
 glance_db_password s3cret
 glance_user_password   s3cret
 horizon_app_links  
http://monitor.example.local/;
 keystone_admin_token   keystone_admin_token
 keystone_db_password   s3cret
 multi_host true
 mysql_root_passwords3cret
 nova_db_password   s3cret
 nova_user_password s3cret
 private_interface  eth1
 public_address 192.168.1.1
 public_interface   eth0
 quantumfalse
 rabbit_passwords3cret
 secret_key s3cret
 verbosetrue
openstack::test_file floating_iptrue
 quantumfalse
 sleep_time 120

On the compute nodes the configuration is like this (for testing I have
both, KVM and QUEMU nodes):

openstack::compute   cinder_db_password s3cret
 db_hostcontroller1.example.local
 fixed_range10.0.0.0/24
 glance_api_servers
controller1.example.local:9292
 internal_address   192.168.1.2
 keystone_host  controller1.example.local
 libvirt_type   qemu
 multi_host true
 nova_db_password   s3cret
 nova_user_password s3cret
 private_interface  eth1
 public_interface   eth0
 purge_nova_config  false
 quantumfalse
 quantum_user_password  s3cret
 rabbit_hostcontroller1.example.local
 rabbit_passwords3cret
 setup_test_volume  true
 verbosetrue
 vncproxy_host  controller1.example.local

Preparations with volume groups as stated in the module documentation are
done before installation. The installation is working so far, I can connect
to the controller node but several things don't work as expected. I.e.,
when I go to the system info page I only see services from the controller
node but no service from the compute nodes. I can create VMs without
storage but no VMs with storage. So I guess I did something wrong or not
completely. Does anyone know if I miss something (i.e. with the parameters)?

The platform is Scientific 6.4 with openstack modules version 2.1.0.

Regards Thomas
-- 
Linux ... enjoy the ride!

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Puppet Users] pupplet-labs/firewall module errors

2013-08-29 Thread Ashley Penney
On Thu, Aug 29, 2013 at 12:57 AM, Amol Kedar ajke...@gmail.com wrote:

 i see this error on the daemon.log of the agent machine

 Aug 28 17:11:07 dev2-db puppet-agent[5154]: 
 (/Stage[main]//Node[dev2-db]/Resources[firewall]) Failed to generate 
 additional resources using 'generate': Invalid address from IPAddr.new: !Aug 
 28 17:11:08 dev2-db puppet-agent[5154]: Could not prefetch firewall provider 
 'iptables': Invalid address from IPAddr.new: !Aug 28 17:11:08 dev2-db 
 puppet-agent[5154]: (/Firewall[000 accept all icmp]) Could not evaluate: 
 Invalid address from IPAddr.new: !
 Aug 28 17:11:08 dev2-db puppet-agent[5154]: (/Firewall[001 accept all to lo 
 interface]) Dependency Firewall[000 accept all icmp] has failures: trueAug 28 
 17:11:08 dev2-db puppet-agent[5154]: (/Firewall[001 accept all to lo 
 interface]) Skipping because of failed dependencies
 Aug 28 17:11:08 dev2-db puppet-agent[5154]: (/Firewall[002 accept related 
 established rules]) Dependency Firewall[000 accept all icmp] has failures: 
 trueAug 28 17:11:08 dev2-db puppet-agent[5154]: (/Firewall[002 accept related 
 established rules]) Skipping because of failed dependencies
 Aug 28 17:11:08 dev2-db puppet-agent[5154]: (/Firewall[999 drop all]) 
 Dependency Firewall[000 accept all icmp] has failures: trueAug 28 17:11:08 
 dev2-db puppet-agent[5154]: (/Firewall[999 drop all]) Skipping because of 
 failed dependenciesAug 28 17:11:08 dev2-db puppet-agent[5154]: Finished 
 catalog run in 1.19 seconds

 if anyone has any prior experience with this, please let me know

I haven't seen this before but - can you show me a full iptables from an
existing client, a full ifconfig, and maybe even the result of:

$ irb
irb(main):002:0 require 'ipaddr'
= true
irb(main):003:0 IPAddr.new
= #IPAddr:
IPv6::::::::/:::::::

That's what I get for a plain call to IPAddr.new, I'm wondering what you're
getting.

-- 
Ashley Penney
ashley.pen...@puppetlabs.com
Module Engineer

*Join us at PuppetConf 2014, September 23-24 in San Francisco*

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Puppet Users] Best practices for infrastructure

2013-08-29 Thread jcbollinger


On Wednesday, August 28, 2013 12:00:21 PM UTC-5, Martin Langhoff wrote:

 On Wed, Aug 28, 2013 at 9:31 AM, jcbollinger 
 john.bo...@stjude.orgjavascript: 
 wrote: 
  If the objective is to render it into a small number of words, 

 Just to double-check my understanding is right. If the client-reported 
 $::hostname does not match the certname, _and_ I am only using 'node 
 fqdn' entries in my Puppet manifests, puppet will use... certname or 
 client-reported $::hostname? 


The master will always choose the node block to use based on the client's 
SSL certname (spelled $::clientcert in Puppet DSL).  Likewise, if you use 
an ENC then it is the certname that the master passes to it when requesting 
a node classification.  It is common for $::hostname to have the same value 
as the certname, but the master itself in no way depends on such a 
coincidence.

Indeed, some sites intentionally assign certnames that do not match 
hostnames.  For example, they may use MAC addresses instead.  That has 
considerable advantages when machines do not have stable hostnames.


John

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


[Puppet Users] Re: puppet module generate using wrong name for directory?

2013-08-29 Thread jcbollinger


On Wednesday, August 28, 2013 7:39:00 PM UTC-5, Dennis Jacobfeuerborn wrote:

 Hi,
 I'm looking into writing proper modules and starting off with puppet 
 module generate but it seems the tool uses an invalid name for the 
 directory.
 When i specify mymodule as a name it tells me I need to use a dash 
 separated name and when I use myname-mymodule then the module
 gets generated but using the mymodule class as either mymodule or 
 myname-mymodule only results in puppet not being able to find the class.

 The fix seems to be to rename the directory to mymodule. After that the 
 mymodule class can be used in manifests.
 Am I doing something wrong or why does the puppet module tool create 
 directories with an invalid name?



The convention for creating and exchanging modules is to use a root 
directory name formed as the module tool is asking you to do.  When you 
install such a module into your module path, you are expected to remove the 
myname- part of the directory name.  I think the module tool normally 
handles that for you when you use it for module installation.  Evidently, 
the module tool's 'generate' function is intended to generate an 
uninstalled module rather than an installed one.


John

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


[Puppet Users] Re: Run a script if port is not running

2013-08-29 Thread phundisk
You can most likely use an exec with an 'onlyif' parameter with netstat or 
lsof.  But like other people are posting, probably better off as a service. 
 Let me know if you figure out the exact exec onlyif command you used, 
would be good to know.

exec { run_account_purger:
command = /usr/local/sbin/account_purger,
onlyif = grep -c old_account /etc/passwd,
}


On Wednesday, August 28, 2013 11:05:07 AM UTC-4, Virtual_user wrote:

 Hi,
 basically i have script and when i run the script its open a port and 
 listen on that port.

 I know i can use augeas to add entry into /etc/services but i am not using 
 xiented .

 is there any way to to find out if the port is running or not (10049)
 and if the port is not running then force the script to run ??

 Thanks
 Kind Regards



-- 
_
This email and any files transmitted with it are confidential and intended 
solely for the addressee.  If you received this email in error, please do 
not disclose the contents to anyone; kindly notify the sender by return 
email and delete this email and any attachments from your system.

© 2011 Currensee Inc. is a member of the National Futures Association (NFA) 
Member ID 0403251 | Over the counter retail foreign currency (Forex) 
trading may involve significant risk of loss. It is not suitable for all 
investors and you should make sure you understand the risks involved before 
trading and seek independent advice if necessary. Performance, strategies 
and charts shown are not necessarily predictive of any particular result 
and past performance is no indication of future results. Investor returns 
may vary from Trade Leader returns based on slippage, fees, broker spreads, 
volatility or other market conditions.

Currensee Inc | 54 Canal St 4th Floor | Boston, MA 02114 | +1.617.624.3824

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Puppet Users] CREATE command denied to user 'dashboard'@'localhost' for table 'schema_migrations'

2013-08-29 Thread Chris McDermott
It looks like the mysql user 'dashboard'@'localhost' doesn't have the right
set of privilege grants.

Chris


On Wed, Aug 28, 2013 at 10:15 PM, karl hui karl@gmail.com wrote:

 Hi Puppet Users group,

 I have followed the guide to the puppet-dashboard DB Preparing Schema
 part, once I run  rake RAILS_ENV=production db:migrate --trace, it shows
 the following errors:

 (in /usr/share/puppet-dashboard)
 rake aborted!
 Mysql::Error: CREATE command denied to user 'dashboard'@'localhost' for
 table 'schema_migrations': CREATE TABLE `schema_migrations` (`version`
 varchar(255) NOT NULL) ENGINE=InnoDB
 /usr/share/puppet-dashboard/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:227:in
 `log'
 /usr/share/puppet-dashboard/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:324:in
 `execute'
 /usr/share/puppet-dashboard/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb:109:in
 `create_table'
 /usr/share/puppet-dashboard/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:478:in
 `create_table'
 /usr/share/puppet-dashboard/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb:371:in
 `initialize_schema_migrations_table'
 /usr/share/puppet-dashboard/vendor/rails/activerecord/lib/active_record/migration.rb:441:in
 `initialize'
 /usr/share/puppet-dashboard/vendor/rails/activerecord/lib/active_record/migration.rb:401:in
 `new'
 /usr/share/puppet-dashboard/vendor/rails/activerecord/lib/active_record/migration.rb:401:in
 `up'
 /usr/share/puppet-dashboard/vendor/rails/activerecord/lib/active_record/migration.rb:383:in
 `migrate'

 /usr/share/puppet-dashboard/vendor/rails/railties/lib/tasks/databases.rake:112
 /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:635:in `call'
 /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:635:in `execute'
 /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:630:in `each'
 /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:630:in `execute'
 /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in
 `invoke_with_call_chain'
 /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
 /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:589:in
 `invoke_with_call_chain'
 /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:582:in `invoke'
 /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2050:in `invoke_task'
 /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2028:in `top_level'
 /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2028:in `each'
 /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2028:in `top_level'
 /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2067:in
 `standard_exception_handling'
 /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2022:in `top_level'
 /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2000:in `run'
 /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2067:in
 `standard_exception_handling'
 /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1997:in `run'
 /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
 /usr/bin/rake:19:in `load'
 /usr/bin/rake:19


 Anyone knows what happen?  I have install puppet-dashboard before but
 never experience this error.

 Thanks.



  --
 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 post to this group, send email to puppet-users@googlegroups.com.
 Visit this group at http://groups.google.com/group/puppet-users.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Puppet Users] What is the alternative to Ruby DSL as use of the Ruby DSL is deprecated ?

2013-08-29 Thread Erik Dalén
In puppet 3.2+ you can enable the future parser (--parser=future) which
allows iteration like that directly in the puppet language.



On 26 August 2013 03:58, Stefan Schmid sc...@web.de wrote:


 Hi Mike

 Yes, create_resources seems to be just right.
 Thanks for the hint.

 - Stefan

 Am Sonntag, 25. August 2013 22:03:47 UTC+2 schrieb Mike Delaney:

 Hi Stefan,

 I believe for the general case, the best practice is to encapsulate the
 logic that can't
 be expressed directly in the PuppetDSL in custom functions called from
 the DSL.
 Some of the features in the new experimental parser like iteration are
 aimed at
 reducing the need to write trivial, one-off functions.

 In this particular case, you can easily re-write your RubyDSL class in
 the PuppetDSL
 using the standard create_resources() function:

 class hosts {
   create_resources('host', $::host_entries)
 }

 http://docs.puppetlabs.com/**references/3.2.latest/**
 function.html#createresourceshttp://docs.puppetlabs.com/references/3.2.latest/function.html#createresources

 If you haven't already, I'd definitely recommend adding the stdlib
 module, as it
 includes a ton of useful functions.

 https://forge.puppetlabs.com/**puppetlabs/stdlibhttps://forge.puppetlabs.com/puppetlabs/stdlib

 -Mike

 On Sun, Aug 25, 2013 at 9:39 AM, Stefan Schmid sc...@web.de wrote:

 Hi

 I am new to puppet and need to manage host entries in file /etc/hosts as
 follows on node mail.example.com and db.example.com. I do not want to
 manage the whole file /etc/hosts with puppet, only a few entries.

 puppet version 3.2.1

 node mail.example.com, file /etc/hosts:
 (..)
 172.16.89.96ldapmaster.example.comldapmaster ldap
 172.16.89.85sms.example.comsms sms-gateway
 (..)

 node db.example.com, file /etc/hosts:
 (..)
 172.16.89.80abc.example.com abc
 172.16.89.81xyz.example.com xyz bigben
 (..)

 In general, a node may have 0 to n host entries. The number of host
 entries on a node A may differ from the number host entries on a node B. A
 certain host entry ( IP-Address  Full-Qualified-Hostname  Short-Hostname)
 may be in the file /etc/hosts on 0 to n nodes concurrently.

 To manage the above host entries on node mail.example.com and
 db.example.com I used Ruby DSL as follows, then I learnt that Ruby DSL
 is deprecated. What is the alternative to Ruby DSL ? Any hint
 would be helpful.

 A puppet module using Ruby DSL:

 puppetmaster:/etc/puppet/**modules/hosts/manifests # cat init.rb

 hostclass :hosts do

  entries = scope.lookupvar(hosts_**entries)

  raise Puppet::ERROR,
   hosts_entries must be a Hash unless entries.kind_of?(Hash)

  entries.each do |title, parameters|

  host( title,
   :ensure   = parameters[ensure],
   :target   = parameters[target],
   :ip   = parameters[ip],
   :host_aliases = parameters[host_aliases])
  end
 end

 puppetmaster:/etc/puppet/**modules/hosts/manifests #


 Basic ENC script output for the Ruby DSL and node mail.example.com :
 (..)
 ---
 parameters:
  hosts_entries:
   sms.example.com:
 ensure: present
 target: /etc/hosts
 ip: 172.16.89.85
 host_aliases:
  - sms
  - sms-gateway
   ldapmaster.example.com:
 ensure: present
 target: /etc/hosts
 ip: 172.16.89.96
 host_aliases:
  - ldapmaster
  - ldap
 classes:
  - hosts
 (..)


 Basic ENC script output for the Ruby DSL and node db.example.com :
 (..)
 ---
 parameters:
  hosts_entries:
   abc.example.com:
 ensure: present
 target: /etc/hosts
 ip: 172.16.89.80
 host_aliases: abc
   xyz.example.com:
 ensure: present
 target: /etc/hosts
 ip: 172.16.89.81
 host_aliases:
  - xyz
  - bigben
 classes:
  - hosts
 (..)


 Thanks.

  --
 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...@**googlegroups.com.
 To post to this group, send email to puppet...@googlegroups.com.

 Visit this group at 
 http://groups.google.com/**group/puppet-usershttp://groups.google.com/group/puppet-users
 .
 For more options, visit 
 https://groups.google.com/**groups/opt_outhttps://groups.google.com/groups/opt_out
 .


  --
 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 post to this group, send email to puppet-users@googlegroups.com.
 Visit this group at http://groups.google.com/group/puppet-users.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Erik Dalén

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit 

Re: [Puppet Users] Seeing an error that is totally confusing the heck out of me

2013-08-29 Thread Jay Kumbhani
Thanks Brother!!!

This helps a lot to me.


On Tuesday, October 9, 2012 9:26:42 PM UTC+5:30, Salty Old Cowdawg wrote:


 On Tue, Oct 9, 2012 at 11:52 AM, Michael Stahnke 
 sta...@puppetlabs.comjavascript:
  wrote:


 The contents of that php/manifests/init.pp file might be helpful here.

 It actually turned out to be totally unrelated to the PHP module.   When 
 I backdated to 2.7.11 I needed to do two things as it turns out.

 1. Backdate facter
 2. clean out the provider subdirectory under 
 /usr/local/lib/site_ruby/1.8/provider and then reinstall puppet. 

 I might, of course, find other things that I need to clean out later, but 
 I've gotten things to work again. 

 -- 

 Peter L. Berghold   salty@gmail.com javascript:

 http://blog.berghold.net



-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


[Puppet Users] Yaml reports not uploading to puppet dashboard

2013-08-29 Thread Natraj L
Hi,

Iam a newbie to puppet, iam trying to set my local puppet master and 
dashboard running on same server.
Iam also using https to connect to dashboard.

I can launch the dashboard on https://IP fine but i see only one report on 
the webpage,

When i tried to import all the previous reports iam getting this error

# cd /usr/share/puppet-dashboard/
]# sudo -u puppet-dashboard rake RAILS_ENV=production reports:import
(in /usr/share/puppet-dashboard)
rake aborted!
Report dir does not exist: /var/lib/puppet/reports

(See full trace by running task with --trace)

But i do see the reports exist

 ls -l /var/lib/puppet/reports/
total 4
drwxr-x--- 2 puppet puppet 4096 Aug 29 12:37 servername

The permissions look fine too

# getfacl /var/lib/puppet/reports/
getfacl: Removing leading '/' from absolute path names
# file: var/lib/puppet/reports/
# owner: puppet
# group: puppet
user::rwx
user:puppet-dashboard:r--
group::r-x
mask::r-x
other::rw-

Can you please advise whats' wrong. Please let me know if you need any 
config file .

Thanks in advance.

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


[Puppet Users] Puppet for Managing Windows Nodes??

2013-08-29 Thread Jason Mathew
Hello All,

I am new to the Puppet world.   What Im trying to do is do a Proof of 
Concept for puppet to see if we can use it to manage our windows nodes.   I 
have a Dev environment setup with a SLES 11 Puppet master and some windows 
nodes  (Win7,Win2k8).   

What i'm trying to do is create a module to install a windows MSI from a 
network file share.   Can someone share some examples of what I need from 
the init.pp and also what settings I need to change on the fileserver.conf 
file?

Thanks!

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Puppet Users] puppet client

2013-08-29 Thread Stuart Cracraft

Good morning!

What are the relevant client rpms and
URL for puppet client install to Oracle UEK Linux?

I'm sitting at, in a browser:
 http://yum.puppetlabs.com/el/5Client/products/x86_64

Also,  can you speak more to:

 Some modules need to get slightly modified to recognize Oracle EL



Thankyou. 


On Aug 28, 2013, at 11:29 AM, Steven Nemetz snem...@hotmail.com wrote:

 Just use the RedHat packages
 We use the same packages for RedHat, CentOS, and Oracle EL
  
 Some modules need to get slightly modified to recognize Oracle EL
 
 Steven
 
  
  Subject: [Puppet Users] puppet client
  From: smcracr...@me.com
  Date: Wed, 28 Aug 2013 10:02:48 -0700
  To: puppet-users@googlegroups.com
  
  Hi,
  
  Looked but couldn't find information on Puppet client for Oracle 
  Unbreakable Enterprise Kernel Linux. 
  
  Could you point me to the methodology for the above on Open Source Puppet 
  which we have running (well) on and for regular Red Hat Linux which we used 
  Puppet Labs Yum repositories to install server and client effortlessly. 
  
  We use Oracle Unbreakable Enterprise Kernel on our vms which we want all 
  controlled by Puppet. 
  
  I was told by someone at Puppet Labs that it existed in some fashion...
  
  --Stuart
  RHCE/RHCSA/Oracle DBA/Sun/Mensa
  
  -- 
  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 post to this group, send email to puppet-users@googlegroups.com.
  Visit this group at http://groups.google.com/group/puppet-users.
  For more options, visit https://groups.google.com/groups/opt_out.
 -- 
 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 post to this group, send email to puppet-users@googlegroups.com.
 Visit this group at http://groups.google.com/group/puppet-users.
 For more options, visit https://groups.google.com/groups/opt_out.

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Puppet Users] puppet client

2013-08-29 Thread Stuart Cracraft
I assume it is just the version of puppet client  which matches the master's
own client and server which is 3.2.1. 

I.e.

puppet-3.2.1-1.el5.noarch.rpm

facter as well  

Any others for an Oracle UEK client?


--Stuart
RHCE/RHCSA/Oracle DBA/Sun/Mensa


On Aug 29, 2013, at 9:17 AM, Stuart Cracraft smcracr...@me.com wrote:

 
 Good morning!
 
 What are the relevant client rpms and
 URL for puppet client install to Oracle UEK Linux?
 
 I'm sitting at, in a browser:
  http://yum.puppetlabs.com/el/5Client/products/x86_64
 
 Also,  can you speak more to:
 
 Some modules need to get slightly modified to recognize Oracle EL
 
 
 
 Thankyou. 
 
 
 On Aug 28, 2013, at 11:29 AM, Steven Nemetz snem...@hotmail.com wrote:
 
 Just use the RedHat packages
 We use the same packages for RedHat, CentOS, and Oracle EL
  
 Some modules need to get slightly modified to recognize Oracle EL
 
 Steven
 
  
  Subject: [Puppet Users] puppet client
  From: smcracr...@me.com
  Date: Wed, 28 Aug 2013 10:02:48 -0700
  To: puppet-users@googlegroups.com
  
  Hi,
  
  Looked but couldn't find information on Puppet client for Oracle 
  Unbreakable Enterprise Kernel Linux. 
  
  Could you point me to the methodology for the above on Open Source Puppet 
  which we have running (well) on and for regular Red Hat Linux which we 
  used Puppet Labs Yum repositories to install server and client 
  effortlessly. 
  
  We use Oracle Unbreakable Enterprise Kernel on our vms which we want all 
  controlled by Puppet. 
  
  I was told by someone at Puppet Labs that it existed in some fashion...
  
  --Stuart
  RHCE/RHCSA/Oracle DBA/Sun/Mensa
  
  -- 
  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 post to this group, send email to puppet-users@googlegroups.com.
  Visit this group at http://groups.google.com/group/puppet-users.
  For more options, visit https://groups.google.com/groups/opt_out.
 -- 
 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 post to this group, send email to puppet-users@googlegroups.com.
 Visit this group at http://groups.google.com/group/puppet-users.
 For more options, visit https://groups.google.com/groups/opt_out.
 -- 
 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 post to this group, send email to puppet-users@googlegroups.com.
 Visit this group at http://groups.google.com/group/puppet-users.
 For more options, visit https://groups.google.com/groups/opt_out.

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


[Puppet Users] Re: Bay Area training in September

2013-08-29 Thread chittaranjan reddy
Hi James,

Pleae let me know where do I book slot for training?

I need training info..

Regards,
Chittu

On Thursday, August 26, 2010 2:41:17 PM UTC-7, James Turnbull wrote:

 Hi all

 We're running a three-day training session on the Bay Area:

 http://www.puppetlabs.com/events/bay-area-training-2/

 September 21st to 23rd, 2010

 It will be hosted at the Network Meeting Center on 5201 Great America
 Parkway, Santa Clara.

 Cheers

 James Turnbull

 -- 
 Puppet Labs - http://www.puppetlabs.com
 C: 503-734-8571



-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


[Puppet Users] Re: Any interest in an Austin puppet users group?

2013-08-29 Thread Byron Miller
I've got a few people interested. Looking to possibly start a group page 
somewhere or a meetup group.  

-byron

On Tuesday, August 27, 2013 4:01:33 PM UTC-5, Byron Miller wrote:

 We have some great groups here in Austin with regular meetups but nothing 
 really focused on Puppet and the typical DevOps group meetups are all Chef.

 Anyone want to work with me to get something going or if there is some one 
 already running one, shoot me the info and i'll be glad to join  help out 
 whatever i can.

 Thanks!

 -byron


-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


[Puppet Users] Hiera and hiera-gpg

2013-08-29 Thread Worker Bee
I am having a bit of difficulty implementing hiera-gpg; particularly with
accomplishing the deencryption in my manifests.  Can anyone either provide
a simple example or point me to a good resource?  I have searched alot and
am still struggling.

Any help would be very appreciated!

Thanks!
Bee

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


[Puppet Users] Puppet under HA Environment

2013-08-29 Thread rjbutler3


How do I avoid a situation where all of my Linux servers execute a service 
restart at the same time upon receiving a new configuration change via 
Puppet?  I am trying to avoid any possibility that the service would be 
unavailable for any length of time.  The servers are behind a load 
balancer.  At least one node needs to remain available.  Any idea how I 
might configure Puppet to work in this HA environment?

Thank you for your feedback!


-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Puppet Users] Re: Problem of ordering with exported files

2013-08-29 Thread François Lafont
Le 28/08/2013 16:53, jcbollinger wrote :

 As a result, I have deduced that this code below was correct *and* not 
 redundant: 

  
 # 1. One declaration. 
 file { '/usr/local/puppet_host/list': 
 mode= 440, 
 content = List.\n, 
 }   

 # 2. Another one. 
 File | tag == 'exported' | { 
 mode = 0644, 
 } 

 # 3. Ordering. 
 File['/usr/local/puppet_host/list'] - File | tag == 'exported' | 
  

 Am I wrong? 

 
 
 Yes.  The code is at least redundant, in that both appearances of
 
 File | tag == 'exported' |
 
 specify the inclusion of the matching resources in the target node's 
 catalog, regardless of the fact that they appear in contexts that carry 
 distinct additional implications.

Ok, so if I follow your logic, this simple code below is correct and
redundant too, isn't it? (and the rendundancy is not a problem)


# 1. One declaration.
file {'/tmp/test1':
  ensure  = present,
  content = Hi.,
}

# 2. Another one.
notify {'after':
  message = '/tmp/test1 has already been synced.',
}

# 3. Ordering.
File['/tmp/test1'] - Notify['after']


 If I understand, the code above is correct but redundant, is'nt it? 
 And the correct and not redundant way with chaning is: 

  
 file { '/usr/local/puppet_host/list': 
 mode= 440, 
 content = List.\n, 
 } 

 - 

 File | tag == 'exported' | { 
 mode = 0644, 
 } 
  

 Is that correct? 

 
 
 That is certainly non-redundant, and it looks correct to me.

[...]

 Is it possible to separate declaration and after chaining like in the 
 first 
 example? Perhaps it's impossible with exported resources... 


 
 That's the thing.  The syntax seems to support it, just as you originally 
 wrote, and I would expect your original code to do what you wanted.

We agree. ;-)

 I cannot explain why it doesn't; 

Me too. Don't you think that it can be interpreted as a little bug? (or
just a inconsistency?)

It's very curious, if I just change the title of the exported files,
then the order is as we expect (I give an example in my message #2).

 I'm just trying to help you find a workaround.

You don't try, you succeed in doing so and I thank you for that. ;-)

--
Francois Lafont

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Puppet Users] Re: Bay Area training in September

2013-08-29 Thread Dawn Foster
On Thu, Aug 29, 2013 at 11:44 AM, chittaranjan reddy
chittu...@gmail.com wrote:
 Hi James,

 Pleae let me know where do I book slot for training?

 I need training info..

We have online training available:
http://puppetlabs.com/services/training/online-learning

Or you can look for a training session in your area:
http://puppetlabs.com/services/training/puppet-fundamentals

Dawn

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.