[Puppet Users] Re: How to do release managment integration with puppet?

2012-12-02 Thread j4m3s
I run a small startup offering a SAAS application (cloud based, no local servers at all). We have always tried to "do things right" so that we can scale - and my view is (happy to be challenged) that our application stack should absolutely be managed just as any other part of the configuration.

Re: [Puppet Users] puppet.conf questiosn

2012-12-02 Thread Calvin Walton
On Fri, 2012-11-30 at 06:06 -0800, Ugo Bellavance wrote: > On Sunday, November 25, 2012 9:07:54 PM UTC-5, Ryan Coleman wrote: > > On Sun, Nov 25, 2012 at 10:22 AM, Ugo Bellavance > > > > > wrote: > > > >> Hi, > >> > >> I have 2 questions regarding puppet.conf file: > >> > >> > >>1. What shoul

[Puppet Users] Hiera tool and hiera-puppet returns different data

2012-12-02 Thread Vaidas Jablonskis
Hi People, I came across an issue where hiera command line tool returns a different data to what puppet3.0 builtin hiera does. When I say different data, I mean hiera tool returns an array of items collected throughout the hierarchy, while hiera_array() called from within a manifest returns an

[Puppet Users] Re: Hiera tool and hiera-puppet returns different data

2012-12-02 Thread Vaidas Jablonskis
Adding my hiera.yaml content: # cat /etc/puppet/hiera.yaml --- :hierarchy: - %{environment}/nodes/%{fqdn} - %{environment}/roles/%{role} - %{environment}/common :backends: - yaml #- puppet :yaml: :datadir: '/etc/puppet/hieradata' :puppet: :datasource: 'data' -- You received thi

Re: [Puppet Users] Re: Are these the same?

2012-12-02 Thread Henrik Lindberg
On 2012-01-12 24:25, Jakov Sosic wrote: On 11/30/2012 11:48 PM, Johan De Wit wrote: Thy both includes the class, but require adds a dependency to the included class. from the docs : This function is a superset of the ‘include’ function, adding a class relationship so that the requiring class de

[Puppet Users] Re: Hiera tool and hiera-puppet returns different data

2012-12-02 Thread Vaidas Jablonskis
Opened up an issue report: http://projects.puppetlabs.com/issues/17896 -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/a96yvzSdAWYJ. To post to this group,

[Puppet Users] Re: manage ssh keys sets

2012-12-02 Thread Vasil Mikhalenya
Hi all, simple custom function solved my problem with granting access. I shared code at http://forge.puppetlabs.com/bazilek/ssh_key_groups On Wed, Oct 24, 2012 at 7:01 PM, Vasil Mikhalenya wrote: > Hi all, > > please, advice me best solution to manage ssh keys in my situation: > > there are ab

[Puppet Users] Re: Hiera tool and hiera-puppet returns different data

2012-12-02 Thread Vaidas Jablonskis
See my issue report, I updated it with my finding. It seems to be a bug. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/QHF75o_kCMIJ. To post to this group

[Puppet Users] Re: Hiera tool and hiera-puppet returns different data

2012-12-02 Thread Vaidas Jablonskis
wrong. Thanks to reidmv and Volcane from #puppet @freenode for explaining this to me. There is no easy way to use hiera_hash() or hiera_array() using the built-on hiera() lookup. The easiest workaround in my case is to do something like this: # class class foo( $configuration = hiera_arra

Re: [Puppet Users] Re: How to do release managment integration with puppet?

2012-12-02 Thread Jakov Sosic
On 12/02/2012 02:51 PM, j4m3s wrote: I run a small startup offering a SAAS application (cloud based, no local servers at all). We have always tried to "do things right" so that we can scale - and my view is (happy to be challenged) that our application stack should absolutely be managed just as

Re: [Puppet Users] Apply created class on node

2012-12-02 Thread Jakov Sosic
On 12/01/2012 06:41 PM, Kazor wrote: [root@master users]# puppet apply --noop run/init.pp /Stage[main]/Users/User[pam]/ensure: current_value absent, should be present (noop) Class[Users]: Would have triggered 'refresh' from 1 events Stage[main]: Would have triggered 'refresh' from 1 events Fini

Re: [Puppet Users] /etc/ssh/ssh_known_hosts not world readable when using sshkey resource

2012-12-02 Thread Stefan Schulte
On Sat, Dec 01, 2012 at 09:58:43AM -0800, Yanis Guenane wrote: > When I apply a sshkey resource I do obtain the /etc/ssh/ssh_known_hosts > file, but it is not world reable. > > According to the ssh man page, > > /etc/ssh/ssh_known_hosts > > Systemwide list of known host keys. This

Re: [Puppet Users] Environmets doesnt work on Puppet 2.7

2012-12-02 Thread Walter Heck
I have seen this happen when a module exists in an environment and not in the main modulepath. Try copying it there, that might solve your problem. Walter On Thu, Nov 29, 2012 at 5:02 PM, Fran Rodríguez wrote: > Hi group, > > I got a problem with environments, im getting this erros from the clie

Re: [Puppet Users] Is new puppet node compatible with old puppetmaster ?

2012-12-02 Thread Walter Heck
Actually, isn't it the other way around? Newer agents will be able to apply catalogs from older masters. Older agents won't (necessarily) be able to interpret catalogs from newer masters, right? Walter On Thu, Nov 29, 2012 at 5:37 PM, Bernd Adamowicz < bernd.adamow...@esailors.de> wrote: > No. N

Re: [Puppet Users] Is new puppet node compatible with old puppetmaster ?

2012-12-02 Thread Kevin
No newer masters support older methods for a catalog. Newer agents will use newer methods. master >= agent == fine master < agent == borked On Mon, Dec 3, 2012 at 12:00 PM, Walter Heck wrote: > Actually, isn't it the other way around? Newer agents will be able to apply > catalogs from older ma

[Puppet Users] Re: Solaris processor count facts - bug or feature?

2012-12-02 Thread Alex Harvey
On Tuesday, November 20, 2012 12:02:21 PM UTC+11, Alex Harvey wrote: > > Hi all, > > This relates to a discussion we are having in the Redmine ticket > https://projects.puppetlabs.com/issues/11612. > > I am extending the processorcount, physicalprocessorcount and processorX > facts that exist f

[Puppet Users] hiera default values for a variable

2012-12-02 Thread Peter Brown
Hi everyone, I currently have a giant file with default variables I use in a lot of my modules and I override those at the node level if I need to. I thought I would give porting that data into a hiera setup. I worked out how to specify my data sources and started to make a go at moving some of m

[Puppet Users] Roles, Profiles and Application Specific Needs

2012-12-02 Thread Mark
I'ven been learning puppet over the last 2 weeks and the one thing I've come to realize is there is a completely different way of thinking that I've normally been accustomed to. I've been trying to absorb as much knowledge as possible on how I should think about organizing our infrastructure. On

Re: [Puppet Users] /etc/ssh/ssh_known_hosts not world readable when using sshkey resource

2012-12-02 Thread Yanis Guenane
Thank you for your answer and the link to the current issue, The solution you offered is what I am currently doing, Thanks again, On Monday, December 3, 2012 12:31:45 AM UTC+1, Stefan Schulte wrote: > > On Sat, Dec 01, 2012 at 09:58:43AM -0800, Yanis Guenane wrote: > > When I apply a sshkey res