[Puppet Users] Unable to access hash elements directly from templates

2012-04-11 Thread Josh
ing in the template (i.e. "<%= $myhash[key][subkey1] %>") then it just spits out that string into the file rather than interpreting the data. I have similar errors if I try to use scope.lookupvar to explicitly specify where things are too. So, what am I doing wrong or is it just

[Puppet Users] Creating classes for individual nodes

2012-04-11 Thread Josh
classes for each individual node that has the config files. Is this the best way to do this or does it go against the purpose of using puppet? Also, for implementation, is it best practice to create a separate module and class for each node where the class includes only that module? Thanks. Josh

Re: [Puppet Users] Unable to access hash elements directly from templates

2012-04-12 Thread Josh
at before. I get the error: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to parse template mymodule/test.erb: Could not find value for 'key' at /etc/puppet/modules/mymodule/manifests/config.pp:22 on node pc01.domain.com Thanks Josh -- You received thi

Re: [Puppet Users] Unable to access hash elements directly from templates

2012-04-12 Thread Josh
> ... line) Josh -- 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/-/VFGB1obBa8QJ. To post to this group, send email to puppet-users@googlegroups.com. T

Re: [Puppet Users] Unable to access hash elements directly from templates

2012-04-12 Thread Josh
Eventually I worked this out (nothing like trying every possible combination eh), solution was to remove the $ at the start as you said and also quote the keys in single quotes like so: TEST: <%= myhash['key']['subkey1'] %> Thanks again for your help Josh -- You rec

[Puppet Users] Re: Creating classes for individual nodes

2012-04-16 Thread Josh
Thanks everyone! This is a good start. I'll have to research most of this but at least I know what to research now. Thanks. Josh On Apr 12, 10:19 am, Brian Gallew wrote: > I'm absolutely with John on this.  As an example, for our JBoss application > we need the configur

[Puppet Users] HA with BIG-IP?

2012-04-23 Thread Josh
crypted via HTTP? I have seen this scenario described in Pro Puppet. I would think I would run into problems verifying clients at the PM if I decrypt at the load balancers. * How are you deploying health monitors for the PM's? Thanks, Josh -- You received this message because you are s

[Puppet Users] Re: HA with BIG-IP?

2012-04-23 Thread Josh
Thanks, Luke. I'm going to pipe HTTPS straight thru the BIG-IP's to the PM's for now. Josh On Apr 23, 12:19 pm, Luke Bigum wrote: > Hi Josh, > > It would depend on whether an F5 can be made to write the necessary > information into an HTTP header. What I would do

[Puppet Users] Using templates from another module

2012-05-03 Thread Josh
ny way that I can use a template from another module? From my understanding of how puppet compiles the catalogue I cannot see why it wouldn't work? Thanks Josh -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on th

[Puppet Users] Re: Using templates from another module

2012-05-03 Thread Josh
nk I'll go with the latter for overall consistency. Josh -- 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/-/Qdx9wdhswvUJ. To post to this group, s

[Puppet Users] Re: Using templates from another module

2012-05-04 Thread Josh
ink it is all part of the fact that hashes are new in Puppet and (as yet) not catered for particularly well. Cheers for the debug method, will come in handy! Josh -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussio

[Puppet Users] Re: Puppet 3.0 and Hiera

2012-05-04 Thread Josh
ardless of whether I have declared hash1 and hash2 for a given node or not, where as at the moment if you don't declare both of them in hiera the merge fails because the empty hash is seen as a string. Native support for the merging would be handy as well. Josh -- You received this message bec

[Puppet Users] Re: Using templates from another module

2012-05-04 Thread Josh
o I am doing this already (maybe? unless I read that wrong). It is just the template that I cannot pull in via hiera (or can I ... can you just use multi-line yaml formatting and get the template from there? Will give it a whirl) Josh -- You received this message because you are subscribed to

[Puppet Users] Re: Using templates from another module

2012-05-04 Thread Josh
> > (or can I ... can you just use multi-line yaml formatting and get the > template from there? Will give it a whirl) > ...of course not, what was I thinking :( -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the

[Puppet Users] Lots of problems with Puppet 2.7 and Passenger on FreeBSD

2012-05-09 Thread Josh
ny allow from all Does anything stand out? THanks, Josh -- 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/-/LQZ6QHiiiT8J. To post to thi

[Puppet Users] Odd SSL issue - host not showing with puppet cert --list --all

2011-07-28 Thread Josh
p -i sitvhmnp161105 [root@sitvhmnp004201 ~]# I can see all my other hosts showing when using the puppet cert --list command. Regards, Josh -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@go

[Puppet Users] Re: Odd SSL issue - host not showing with puppet cert --list --all

2011-07-31 Thread Josh
.mambodev.local.pem /var/lib/puppet/ssl/ca/signed/sitvhmnp161106.mambodev.local.pem Does this mean my inventory is out of sync with my certificates? What would be the best way to clean this up? Cheers, Josh On Jul 29, 7:40 pm, Nan Liu wrote: > On Fri, Jul 29, 2011 at 2:38 AM, Josh wrote: > > Just won

[Puppet Users] Configuration error on 0.25.5 (default provider)

2011-09-15 Thread Josh
atly appreciate it. I need to get this server up and running soon. Let me know if I haven't provided enough info. Thanks, Josh -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-use

[Puppet Users] Re: Configuration error on 0.25.5 (default provider)

2011-09-16 Thread Josh
you can point me to good online documentation but I've searched all over the puppet labs site and can't find anything useful. Their docs for installing and configuring a new server are terrible, especially when it comes to adding a new client. Thanks very much for your help. Josh On

[Puppet Users] Re: Configuration error on 0.25.5 (default provider)

2011-09-22 Thread Josh
d error so I have no idea where to begin troubleshooting it. Thanks, Josh On Sep 16, 10:17 am, Josh wrote: > Nicolai, > > Thanks for the reply. I think I copied the /var/lib/puppet directory > from another server as a last resort after trying a bunch of other > things first. For

[Puppet Users] Recursively pushing sym links in 2.6.6

2011-09-29 Thread Josh
Background: I like to keep installed apps in a non-standard area and sym link to the binaries, libraries and other files through the /usr/local tree so that they're in the user's path. The purpose of this is to help with software versions, upgrades and to allow me to keep multiple versions of apps

[Puppet Users] Help with cloud provisioner

2011-10-02 Thread Josh
is, what happens next? What am I missing? I have a new instance with puppet on it but since there's no catalog, the agent (if it were still running) wouldn't know what to ask for. Thanks -Josh -- You received this message because you are subscribed to the Google Groups "Pup

[Puppet Users] Could not retrieve catalog (403) and 500

2010-11-16 Thread Josh
used this, and how to fix it? Thanks, Josh -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...

[Puppet Users] Re: Could not retrieve catalog (403) and 500

2010-11-16 Thread Josh
On Nov 16, 4:26 pm, Josh wrote: > Hi, > > I just recently upgraded my puppetmaster and clients from 0.25.3 to > 2.6.3.rc3.  Everything worked fine for a while.  Now, none of my > clients are able to retrieve their catalog.  Here is some [hopefully] > relevant information:

[Puppet Users] Re: Could not retrieve catalog (403) and 500

2010-11-16 Thread Josh
Ok, looks like this may be fixed. I added "allow *" to the puppetmaster's auth.conf. I guess this is something that changed between 0.25.3 and 2.6.3, and I missed it while reading the release notes. Josh On Nov 16, 4:45 pm, Josh wrote: > On Nov 16, 4:26 pm, Josh wrote: >

[Puppet Users] No changes being applied to clients 2.6.3rc3

2010-11-17 Thread Josh
Nov 17 07:40:02 fc-pupm01 puppet-agent[19567]: Finished catalog run in 0.15 seconds So, the logs are reporting that everything was successful, yet nothing is actually getting applied. Where can I begin to troubleshoot this issue? Thanks in advance! Josh -- You received this message because you are s

[Puppet Users] Re: No changes being applied to clients 2.6.3rc3

2010-11-17 Thread Josh
formats: b64_zlib_yaml marshal raw yaml; using marshal On Nov 17, 7:42 am, Josh wrote: > Hi, > > I'm having a problem where no changes are getting applied to any of my > puppet clients since upgrading from 0.25.3 to 2.6.3rc3.  I'm using > Passenger 2.2.2 and Ruby 1.8.7.  

[Puppet Users] Best practices for different hosts with different configs

2010-12-13 Thread Josh
Greetings, I'm just getting started with setting up Puppet in an environment of about ~15 servers, a mixture of Mac OS X servers and Ubuntu servers - each with different roles and obviously different versions of configs. Before I get too carried away, I was hoping to get advice on the "rule of thu

[Puppet Users] ActiveRecord/Puppet error? Missing mysql2 gem.

2011-04-11 Thread Josh
mime-types (1.16) mysql2 (0.2.7) passenger (3.0.5) polyglot (0.3.1) rack (1.2.2) rack-mount (0.6.13) rack-test (0.5.7) rails (3.0.5) railties (3.0.5) rake (0.8.7) spruz (0.2.5) thor (0.14.6) treetop (1.4.9) tzinfo (0.3.25) Any idea on how to solve this problem? Thanks, Josh -- You received th

[Puppet Users] Re: ActiveRecord/Puppet error? Missing mysql2 gem.

2011-04-11 Thread Josh
Cody, Thanks for the help. Installing the "ruby-mysql" RPM from EPEL seemed to fix this issue. Thanks! Josh On Apr 11, 5:32 pm, Cody Robertson wrote: > Did you manually install the gem? I believe Todd's RPMS are built to work > with EPEL so you might want to look for t

[Puppet Users] Re: Ensure a package is newer than version X

2011-05-25 Thread Josh
Check out yum-versionlock for RHEL/CentOS, its a yum plugin. We use it to lock down versions and then just have ensure => latest in our manifests.. Regards, Josh On May 24, 8:26 pm, Felix Frank wrote: > On 05/17/2011 09:37 PM, Doug Warner wrote: > > > On Gentoo we would handle th

[Puppet Users] Problem with hiera arrays not obeying the hierachy

2012-09-03 Thread Josh
e obeyed and both .yaml and common.yaml would be ignored ... or have I misunderstood how the system works? Thanks Josh -- 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/

[Puppet Users] Re: Problem with hiera arrays not obeying the hierachy

2012-09-03 Thread Josh
...my hiera.conf since it would probably help. %{datacentre} is a custom fact that is set at build time: --- :hierarchy: - node/%{hostname} - common/%{datacentre} - common/common :backends: - yaml - puppet :yaml: :datadir: '/local/puppet/env/%{environment}/hieradata' :puppet: :datas

Re: [Puppet Users] Re: Problem with hiera arrays not obeying the hierachy

2012-09-04 Thread Josh
y and fix so all good. What is the behaviour regarding hash keys? Would a merged hash that ends up with a duplicate key take the value from higher up the hierarchy? Thanks again, Josh -- You received this message because you are subscribed to the Google Groups "Puppet Users" group.

Re: [Puppet Users] Re: Problem with hiera arrays not obeying the hierachy

2012-09-04 Thread Josh
On Tuesday, September 4, 2012 9:10:57 AM UTC+1, Josh wrote: > > What is the behaviour regarding hash keys? Would a merged hash that ends > up with a duplicate key take the value from higher up the hierarchy > Have answered my own question. The answer to this is yes (for the benefi

[Puppet Users] Variable interpolation inside hiera data

2012-09-24 Thread Josh
nd becomes especially annoying when arrays are involved. Any way to get puppet to take notice of the $ and look the actual value up? Thanks Josh -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on

Re: [Puppet Users] Variable interpolation inside hiera data

2012-09-25 Thread Josh
So obvious now that I think about it! *slaps head* Cheers Josh On Tuesday, September 25, 2012 3:11:32 AM UTC+1, Nan Liu wrote: > > On Mon, Sep 24, 2012 at 2:39 AM, Josh > > > wrote: > > I am using the latest version of hiera and puppet and wondering if there >

[Puppet Users] Exclusions in site.pp?

2008-09-08 Thread josh
node typeb include ipf-typeb } node typec include ipf-typec } Or something along those lines, and nodes/typea contains a list of all the typea stores, nodes/typeb includes a list of the typeb hosts, etc. Is this possible? Thanks, Josh --~--~-~--~~~---~--~---

[Puppet Users] Re: Exclusions in site.pp?

2008-09-08 Thread josh
Thanks to everyone for their quick replies. I will give this a shot! Josh --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegro

[Puppet Users] Re: Exclusions in site.pp?

2008-09-08 Thread josh
Ah one more question which I neglected to ask. How do I specify that if a node is not in typea or typeb that it's default? i.e. I now have: include nodes/* and in nodes: typea.pp: node foo, bar, baz { include ipf.a } typeb.pp: node bear, monkey, lion { include ipf.b } but for any othe

[Puppet Users] Re: Exclusions in site.pp?

2008-09-08 Thread josh
D MESSAGE- > Hash: SHA1 > > If there is a default node, and you aren't using external nodes, and > the current node is not specified, it will use default. > > - --Paul > > On Mon, Sep 8, 2008 at 1:41 PM, josh  wrote: > > -BEGIN PGP SIGNATURE-

[Puppet Users] Re: Exclusions in site.pp?

2008-09-08 Thread josh
OK thanks Paul. hrm back to the drawing board then, or I just manually set the domain name on each box first. On Sep 8, 5:32 pm, "Paul Lathrop" <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Josh, > > Sorry, no wildcard mat

[Puppet Users] Re: Exclusions in site.pp?

2008-09-09 Thread josh
your method. On Sep 9, 4:45 am, Heiko <[EMAIL PROTECTED]> wrote: > On Mon, Sep 8, 2008 at 11:40 PM, josh <[EMAIL PROTECTED]> wrote: > > > OK thanks Paul. hrm back to the drawing board then, or I just > > manually set the domain name on each box first. > >

[Puppet Users] Re: Exclusions in site.pp?

2008-09-11 Thread josh
On another note, I do know the IP addresses of the boxes, can I use IP's in the nodes, or does it have to be via host name? (since that's what's in the certificate?) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "

[Puppet Users] Re: Sharing the same file for different nodes

2008-09-16 Thread josh
Joshua, On Sep 15, 2:26 pm, "Joshua Timberman" <[EMAIL PROTECTED]> wrote: > On Mon, Sep 15, 2008 at 10:44 AM, josh <[EMAIL PROTECTED]> wrote: > > > class typeA { > >    file { "/etc/ipf/ipf.conf": > >        owner => "root",

[Puppet Users] Re: How long for changes to be pushed out?

2008-09-17 Thread josh
I should have mentioned, I'm running four mongrel instances fronted by Apache/2.2.8 on the puppetmaster server for serving the clients. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post

[Puppet Users] How long for changes to be pushed out?

2008-09-17 Thread josh
acter-1.3.8 and ruby 1.8.6. The server is running puppet-0.24.5, facter-1.5.2, and ruby 1.8.6. Thanks as always, Josh --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post t

[Puppet Users] Re: How long for changes to be pushed out?

2008-09-17 Thread josh
boxes, not all of them have puppet logging to syslog the right way.Maybe I will just configure puppet to log to a file locally on the box instead of via syslog and see if I can get some more insight that way. Josh On Sep 17, 12:23 pm, chalex <[EMAIL PROTECTED]> wrote: > I would do som

[Puppet Users] Re: How long for changes to be pushed out?

2008-09-17 Thread josh
o put /usr/ruby/1.8/bin in the "path =" statment in puppet.conf? (Currently it's commented out by default or unset) On Sep 17, 4:16 pm, Aj <[EMAIL PROTECTED]> wrote: > You'll definitely be wanting to setup reporting, even just the log   > type to get your clients puppe

[Puppet Users] Re: How long for changes to be pushed out?

2008-09-18 Thread josh
Splunk is in the works, puppet was the first step in the formula. We do have a centralized log server, it's just that not all the client boxes have the proper syslog-ng config in place - another think that puppet was supposed to "fix" but since it's not doing anything, I'm SOL. I have enabled rep

[Puppet Users] Re: How long for changes to be pushed out?

2008-09-18 Thread josh
OK so I'm looking at one client machine, and it looks like the information in /var/puppet/state/ is out of date by about a week. Shouldn't those files get recreated anytime that puppetd runs? Also I'm runing puppetd --verbose, but not seeing anything in /var/ puppet/log/ I have the following in p

[Puppet Users] Re: How long for changes to be pushed out?

2008-09-18 Thread josh
quot;Does it appear that puppet is doing other things?  Because I suspect it > > isn't doing anything. > > The mystery is to figure out why your puppet clients aren't > > running/retrieving their catalogs. > > That's the right answer.  Figure out why puppet isn&

[Puppet Users] Re: How long for changes to be pushed out?

2008-09-18 Thread josh
Nigel, Thanks *phew* that was an easy one line fix! I had upgraded the server from 0.24.4 to 0.24.5 trying to troubleshoot another issue, and introduced this one. Oh well, live and learn. I'll keep my eyes posted, see if the catalogs get run now on the client machines. JOsh On Sep 1

[Puppet Users] Re: How long for changes to be pushed out?

2008-09-18 Thread josh
So I made the change on the server roughly 30 minutes ago, hopefully within a few hours most of the clients will have checked back in to the server and downloaded the catalogs fresh (I shouldn't need to restart puppetd or remove /var/puppet/state on the clients should I?) Josh On Sep 18,

[Puppet Users] Puppet clients stop talking to the puppetmaster server

2008-09-29 Thread josh
es.txt and everything is good again. All of the clients are identical, same OS versions, same patch levels, same puppet.conf, etc. I am not seeing anything in the logs on the puppetmaster server (either in the apache logs or puppetmasterd logs) that is indicative of an issue. Any thoughts? Th

[Puppet Users] Re: Puppet clients stop talking to the puppetmaster server

2008-09-29 Thread josh
t; <[EMAIL PROTECTED]> wrote: > What do the logs look like on the clients that stop connecting? > > That's where I'd expect to see something, not on the master. > > On Mon, Sep 29, 2008 at 11:14 AM, josh <[EMAIL PROTECTED]> wrote: > > > Here's t

[Puppet Users] Re: Puppet clients stop talking to the puppetmaster server

2008-10-02 Thread josh
same versions of facter and puppet (and ruby, which they already do) Josh On Sep 30, 2:41 pm, "Paul Lathrop" <[EMAIL PROTECTED]> wrote: > Have you restarted puppetmasterd? Often when I see changes not > propagating to clients, it turns out there was a syntax error which >

[Puppet Users] Re: Puppet clients stop talking to the puppetmaster server

2008-10-02 Thread josh
lient and server? > > On Thu, Oct 2, 2008 at 8:25 AM, josh <[EMAIL PROTECTED]> wrote: > > > Paul, > > > Yes puppetmasterd has been restarted several times but no luck.  I'm > > upgrading all the clients to facter-1.5.2 now, and once that done I > >

[Puppet Users] How to add users in Solaris via puppet

2009-01-30 Thread josh
user) I tried using some code that would insert a line into a file (/etc/ shadow in this case) but it doesn't seem to always work, which is weird. Am I missing something obvious here? useradd in solaris doesn't have an option to set the password via the use

[Puppet Users] Slow user resource-type when host is attached to LDAP directory

2013-03-19 Thread Josh
The majority of our servers are attached to large LDAP directories. However, there are also cases when we need to define local service accounts for whatever reason. We do this with the "user" resource-type. If the host is attached to a LDAP directory, it takes Puppet a VERY long time to proc

[Puppet Users] MCollective and Puppet with periodic runs disabled

2013-04-12 Thread Josh
not specify any custom puppet options when the daemon is running"} I am using puppet 3.1 and the mcollective-puppet-common|agent|client plugin Any ideas welcome, I just seem to be going round in circles now Thanks Josh -- You received this message because you are subscribed to the Google Gro

[Puppet Users] Re: How to setup /etc/resolv.conf dependent on network

2013-04-12 Thread Josh
ipaddress_eth0 { /^192.168.1/: { $nameserver = '192.168.1.254' } /^192.168.2/: { $nameserver = '192.168.2.254' } } Josh -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving em

Re: [Puppet Users] MCollective and Puppet with periodic runs disabled

2013-04-12 Thread Josh
master schedule status: Started a background Puppet run using the 'puppet agent --onetime --daemonize --color=false --no-noop' command 2013-04-12 10:31:51: training-node1 schedule status: execution expired Is that just what I should be expecting? Thanks Josh -- You received this me

Re: [Puppet Users] MCollective and Puppet with periodic runs disabled

2013-04-12 Thread Josh
aster schedule status: Started a background Puppet run using the 'puppet agent --onetime --daemonize --color=false' command 2013-04-12 11:37:21: training-node1 schedule status: execution expired Thanks Josh On Friday, April 12, 2013 10:55:51 AM UTC+1, R.I. Pienaar wrote: > > >

Re: [Puppet Users] MCollective and Puppet with periodic runs disabled

2013-04-12 Thread Josh
ce = yaml plugin.yaml = /etc/mcollective/facts.yaml I don't have anything like /etc/mcollective/plugin.d/puppet.cfg on the server Thanks Josh -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop

Re: [Puppet Users] MCollective and Puppet with periodic runs disabled

2013-04-12 Thread Josh
ections messages, even in debug mode. Josh -- 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

Re: [Puppet Users] MCollective and Puppet with periodic runs disabled

2013-04-12 Thread Josh
activemq.pool.size = 1 plugin.activemq.pool.1.host = 192.168.10.254 plugin.activemq.pool.1.port = 61613 plugin.activemq.pool.1.user = mcollective plugin.activemq.pool.1.password = secret plugin.activemq.pool.1.ssl = 0 # Facts factsource = yaml plugin.yaml = /etc/mcollective/facts.yaml Josh -- You

Re: [Puppet Users] MCollective and Puppet with periodic runs disabled

2013-04-12 Thread Josh
On Friday, April 12, 2013 3:55:49 PM UTC+1, R.I. Pienaar wrote: > you need this everywhere if you set it... > It is in the client.cfg and the server.cfg across both hosts. I don't need to add anything into my activemq configuration do I? Josh -- You received this message beca

[Puppet Users] Re: How to setup /etc/resolv.conf dependent on network

2013-04-12 Thread Josh
On Friday, April 12, 2013 3:54:16 PM UTC+1, ForumUser wrote: > > what if I have 192.168.* with exception of 192.168.100.* ? > Is the order in case statement important ? > E.g.: > > case $::ipaddress_eth0 { > /^192.168.100/: { $nameserver = '192.168.100.254' } > /^192.168./: { $nameserver = '192.1

Re: [Puppet Users] MCollective and Puppet with periodic runs disabled

2013-04-12 Thread Josh
On Friday, April 12, 2013 4:23:14 PM UTC+1, R.I. Pienaar wrote: > everywhere, all client.cfg and server.cfg. Yup, it is everywhere then Josh -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and s

Re: [Puppet Users] MCollective and Puppet with periodic runs disabled

2013-04-12 Thread Josh
pet quickly enough when i run it manually I will have a think about it over the weekend, maybe I will have a flash of inspiration. Many thanks for all your time today, I'll post back if I get some progress Josh -- You received this message because you are subscribed to the Google Gr

[Puppet Users] New to hiera

2013-05-04 Thread Josh
y outside of the classes and add a little more in the process, with hierarchies and stuff, and now I have data in multiple places... I still need case statements to handle different OSes and stuff. Eh, we'll see. Maybe I just haven't read something that explains the benefits well yet. Jo

[Puppet Users] Offering "Puppet As A Service"

2013-09-11 Thread Josh
u handling segregation of manifests? Are you creating multiple environments for each internal customers (perhaps with one common environment shared amongst all for base configuration). Any suggestions would be greatly appreciated. Thanks, Josh -- You received this message because you are

[Puppet Users] Roles/profile design

2013-12-19 Thread Josh
de ::apache } I feel like this design just over complicates the profiles logic, but I can't seem to figure out another way to handle this type of scenario. Furthermore, what if I need a generic webserver with PHP? Do I need another profile (ie, profiles::webserver::apache::generic::php). Can

[Puppet Users] Re: Roles/profile design

2013-12-20 Thread Josh
x27;t know if it warrants creating an entirely new module just to house one or two files. Thanks, Josh -- 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

Re: [Puppet Users] Roles/profile design

2013-12-23 Thread Josh
pache::mod::php class, ie: class { 'apache::mod::php' } Any ideas on how to make this work correctly? The hiera data should allow me to choose which apache::mod::subclass modules that should be installed. Thanks, Josh > You're overloading profile because you

Re: [Puppet Users] Roles/profile design

2013-12-23 Thread Josh
Joseph, I'm not currently defining classes with hiera. The host is assigned a role, which includes a profile, which installs includes ::apache. I guess this may be something that we need to look at for these types of scenarios. Josh > Hi, > How are you declaring your classes

Re: [Puppet Users] Roles/profile design

2013-12-26 Thread Josh
Joseph, So, the problem with this method appears to be that once you specify "hiera_include('classes')" in the environment's site.pp, Puppet appears to try and make Hiera the ONLY source for node classification. I rely on roles from my ENC and profiles for classificat

[Puppet Users] Re: Hiera and ENC-set top-scope variables

2014-01-05 Thread Josh
into a fact using something like: file { "/etc/puppetlabs/facter/facts.d/group.txt": content => "group=$group", } However, this has it's disadvantages, because the $::group fact doesn't become available until after the puppet run that declares the file re

[Puppet Users] Re: Cloud provisioning using Open Source Puppet

2014-01-05 Thread Josh
You could always check out The Foreman [1]. [1] http://theforeman.org Josh On Sunday, January 5, 2014 4:14:56 AM UTC-5, Johan Martinez wrote: > > > I am looking for Open Source Puppet solution that will help in launching > and managing ec2 instances, RDS instances, elastic cache

[Puppet Users] Puppet 5 Repo Mirror

2024-06-13 Thread Josh
eared a couple of years back: https://yum.puppetlabs.com/puppet5/ Does anyone know of any current working puppet 5 yum repositories? I just want to make a local mirror that I can use before I embark on the process of uplifting everything Thanks Josh -- You received this message because yo

Re: [Puppet Users] Puppet 5 Repo Mirror

2024-07-09 Thread Josh
Sorry it has taken me so long to get back here and thank you! This resolved my problems and I can move on to upgrading Josh On Thursday 13 June 2024 at 12:30:02 UTC+1 Dietrich, Stefan wrote: > Hello Josh, > > while not available anymore on the web, they can be still pulled via rsyn

Re: [Puppet Users] windows filepath error

2012-01-20 Thread Josh Cooper
want to install, is the one you downloaded from your module? If so, then you just need: package { 'win_test': ensure => 'installed', source => 'c:/test/win_test_file' } Josh -- Josh Cooper Developer, Puppet Labs -- You received this message because you ar

Re: [Puppet Users] Re: windows filepath error

2012-01-23 Thread Josh Cooper
On Mon, Jan 23, 2012 at 6:55 AM, tborthwick wrote: > Thanks, I didn't realize it had to be a local file. I've updated the package description on the Windows wiki page: http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Windows?version=63 Josh -- Josh Cooper Developer

Re: [Puppet Users] Puppet on Windows - client installer?

2012-01-26 Thread Josh Cooper
eduled tasks to run puppet on a specified interval. It does mean you couldn't `puppet kick` these agents. Would that work in your environment? Josh -- Josh Cooper Developer, Puppet Labs -- You received this message because you are subscribed to the Google Groups "Puppet Users" g

Re: [Puppet Users] Has anybody tried puppet in combination with NSIS installers?

2012-02-08 Thread Josh Cooper
r windows > systems). > Puppet can currently only manage msi packages on Windows, see https://projects.puppetlabs.com/issues/11870. For more general information about Puppet's windows support, see the wiki page at http://projects.puppetlabs.com/projects/1/wiki/Puppet_Windows Thanks, Josh -- Josh

Re: [Puppet Users] Puppet on Windows

2012-02-16 Thread Josh Cooper
8 encoding. The text 'Mitteleuropõische Zeit' should be UTF8 encoded as '4D 69 74 74 65 6C 65 75 72 6F 70 C3 B5 69 73 63 68 65 20 5A 65 69 74 20' (in hex). The sequence 'e4 69 73' is most definitely an illegal UTF8 sequence. Can you file a ticket against puppet? Tha

Re: [Puppet Users] Re: Puppet on Windows

2012-02-17 Thread Josh Cooper
out and update the ticket with your findings: https://projects.puppetlabs.com/issues/11408 Thanks, Josh -- Josh Cooper Developer, Puppet Labs -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to pupp

Re: [Puppet Users] Puppet agent fails to start on Windows Server 2008 with --listen option

2012-02-20 Thread Josh Cooper
gt; 404:in `exit_on_fail' >from D:/Ruby187/lib/ruby/site_ruby/1.8/puppet/application.rb: > 309:in `run' >from D:/Ruby187/lib/ruby/site_ruby/1.8/puppet/util/ > command_line.rb:69:in `execute' >from D:/Ruby187/bin/puppet:4 > > I've tried

Re: [Puppet Users] Re: Puppet on Windows - client installer?

2012-02-22 Thread Josh Cooper
version available for you to try. It'd be great to get your feedback before we release. I'll ping you separately tomorrow. If anyone else is interested in giving it a whirl, please send an email to me directly. Thanks, Josh -- Josh Cooper Developer, Puppet Labs -- You received this

Re: [Puppet Users] Can not retrieve file from puppet master linux to puppet agent windows

2012-02-27 Thread Josh Cooper
ll want to use the latest 2.7.x release: https://groups.google.com/group/puppet-announce/browse_thread/thread/2d5daed2291962c2 Josh -- Josh Cooper Developer, Puppet Labs -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to t

Re: [Puppet Users] Re: Puppet Agent on Windows

2012-02-27 Thread Josh Cooper
n you set the trace[1] option in puppet.conf[2]. Restart the service, and reply with the backtrace? Thanks, Josh [1] http://docs.puppetlabs.com/references/stable/configuration.html#trace [2] http://projects.puppetlabs.com/projects/1/wiki/Puppet_Windows#Settings -- Josh Cooper Developer, Puppet L

Re: [Puppet Users] Re: Puppet Agent on Windows

2012-02-27 Thread Josh Cooper
normally contains line numbers. How did you install ruby and puppet? Can you run the following: cd c:\Ruby187\bin ruby -v ruby -e "require 'puppet'; puts Puppet[:daemonize]" ruby -e "require 'puppet'; puts Puppet.features.microsoft_windows?" Thanks, Josh -

Re: [Puppet Users] Re: Puppet Agent on Windows

2012-02-28 Thread Josh Cooper
t; > > > This works properly if running it as a test and sets the password. As > > > soon as you start the service and the log fills up with: > > > Puppet (err): Could not run: fork() function is unimplemented on this > > > machine > > > > Igor, > > &

Re: [Puppet Users] Windows Puppet 2.7.12rc1-7-g281901e hands at end of run

2012-02-29 Thread Josh Cooper
:/Dev/tools/Ruby187/lib/ruby/site_ruby/1.8/puppet/util/ > command_line.rb:69:in `e > xecute' > C:/Dev/tools/Ruby187/bin/puppet:4 > err: Failed to apply catalog: Parameter source failed: Cannot use > relative URLs > 'WN7X64-6MYJ5QA\\source\\win_test_file.txt' at /

Re: [Puppet Users] Puppet windows File permissions

2012-02-29 Thread Josh Cooper
st.txt]/content: content > changed '{md5}b3589a284c00ce9a67dd42ccaf15e46d' to > '{md5}881bfbf113937635f5c35241ed2' > notice: Finished catalog run in 8.25 seconds > notice: > /File[C:/ProgramData/PuppetLabs/puppet/var/state/last_run_summary.yaml]/content: > >

Re: [Puppet Users] Puppet windows File permissions

2012-02-29 Thread Josh Cooper
Hi Marco, On Wed, Feb 29, 2012 at 10:52 AM, Marco Parra D. wrote: > Hi Josh, > I'm runnig from cmd.exe, I'm using Administrator account on the windows > box, this is the output for the command that you asked: > > C:\Users\Administrator>whoami /

Re: [Puppet Users] Re: Windows Puppet 2.7.12rc1-7-g281901e hands at end of run

2012-02-29 Thread Josh Cooper
ning `puppet agent` is that on Unix we daemonize by default -- the current process does a fork/exec, and the daemonized child does setsid, closes stdin/out/err fds, etc. On Windows, we do not support daemonizing, so the puppet run (and subsequent event loop) occur in the current process until interr

Re: [Puppet Users] Puppet windows File permissions

2012-03-01 Thread Josh Cooper
Hi Marco, On Thu, Mar 1, 2012 at 6:17 AM, Marco Parra D. wrote: > Hi Josh, thank you for reply, > > On 29-02-2012 19:12, Josh Cooper wrote: > > Hi Marco, > > On Wed, Feb 29, 2012 at 10:52 AM, Marco Parra D. > wrote: > >> Hi Josh, >> I'm runnig from

Re: [Puppet Users] Puppet Agent on Windows - High CPU Usage

2012-03-07 Thread Josh Cooper
r.bat --timing 2. puppet.bat agent --test --debug This host is a Windows 2008 VMware VM (VSphere 5) with 2vCPUs and 4GB of > RAM assigned. It has no CPU or Memory resource limits (set to unlimited). > No reservations (set to 0). CPU and memory resource shares are set to > "High".

  1   2   3   4   5   6   >