Re: [Puppet Users] Configuring Puppet for OnApp Cloud

2012-06-05 Thread Kevin
would use RDNS or user-data (assuming onapp works similarily to AWS|openstack ) to set the hostname) Kevin. On Wed, May 30, 2012 at 7:58 PM, ankush grover wrote: > Hi Friends, > > My company is soon to going to deploy a private cloud from OnApp in > the infrastructure. Task given

[Puppet Users] Ubuntu lucid 10.04 package install error

2010-07-17 Thread kevin
Hi, I'm just gettting back into using puppet. DISTRIB_ID=Ubuntu DISTRIB_RELEASE=10.04 DISTRIB_CODENAME=lucid DISTRIB_DESCRIPTION="Ubuntu 10.04 LTS" On install adduser mentioned that the /var/lib/puppet directory was not owned by the puppet user. What's the workaround for this? -- You received

[Puppet Users] nginx virtual host management

2010-07-17 Thread kevin
Are there recipes in puppet to deal with configuring nginx virtual host files? Ideally they'd be parameterized.. -- 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 f

[Puppet Users] Re: Ubuntu lucid 10.04 package install error

2010-07-17 Thread kevin
> There is a related issue:http://projects.puppetlabs.com/issues/4204 > > Please update the issue with your own experiences and issues if it > looks to be the same as you're experiencing. Yikes. Must be a better way... -- You received this message because you are subscribed to the Google Group

[Puppet Users] Re: Ubuntu lucid 10.04 package install error

2010-07-18 Thread kevin
> > Yikes.  Must be a better way... > > A better way for what?  I think perhaps I wasn't communicating well. > No I'm the one not communicating well. The chown went fine, fixed the issue. Thanks. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group

[Puppet Users] What is the "best practices" way to install puppet

2010-07-18 Thread kevin
Damn it, is there no acronym for "best practices" yet? ;) Ok, I am installing puppet, and wondering which version and from where should I install. Gems? OS packages? Version? Thanks. Kevin -- You received this message because you are subscribed to the Google Groups "Puppet U

[Puppet Users] Re: What is the "best practices" way to install puppet

2010-07-18 Thread kevin
> For the master, I recommend Passenger 2.2.11 with rack 1.0.1.  Rack > 1.1.0 may work as well, but i haven't tested this yet. > Ok, thanks, I actually meant puppet versions... although you did answer my next question. So, What version of puppet should I aim to run in production tomorrow? -- Y

[Puppet Users] quick basics to install functioning ubuntu system?

2010-11-26 Thread kevin
ll night, and I wanted to ask here about any packages and especially gotchas/bugs that would nip the re-learner in an hour of weakness. Thanks, Kevin -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group

[Puppet Users] Ruby 1.9 and puppet

2008-11-14 Thread kevin
does puppet run under the ruby 1.9 interpreter? --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group,

[Puppet Users] new to puppet, wondering about gentoo

2008-11-15 Thread kevin
I am very new to puppet, and am wondering about puppet's support for gentoo. Would be better off targeting Ubuntu for a deployment? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to t

[Puppet Users] Re: new to puppet, wondering about gentoo

2008-11-16 Thread kevin
Thanks! On Nov 15, 9:24 pm, RijilV <[EMAIL PROTECTED]> wrote: > 2008/11/15 kevin <[EMAIL PROTECTED]> > > > > > I am very new to puppet, and am wondering about puppet's support for > > gentoo.  Would  be better off targeting Ubuntu for a deployment? >

[Puppet Users] running puppetmaster on gentoo to configure ubuntu machnines

2008-11-17 Thread kevin
I really, really hope that this is possible: I have puppetmaster installed on a gentoo box, and I need to have it configure ubuntu servers.. is this at all a problem? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "

[Puppet Users] ubuntu package management

2008-11-19 Thread kevin
I'm reading through the docs as fast as I can, but of course, the pressure is on me to get things rolling. I'm sorry if this is a bad question: does puppet manage packages? ie: how to make it run apt-get [ bunch of ubuntu packages ] ? --~--~-~--~~~---~--~~ You r

[Puppet Users] Understanding the docs

2008-11-24 Thread kevin
Ok, I've been reading and I have some questions about best practices: I understand that modules are to be self contained blocks that i can just drop in. Using best practices, how does this fit into the naming scheme? Classes are singletons. I think i understand this. I've been defining classe

[Puppet Users] Re: Understanding the docs

2008-11-24 Thread kevin
On Nov 24, 1:37 pm, RijilV <[EMAIL PROTECTED]> wrote: > Anyone else feel free to step in and correct me, but here's how I see it... > > 2008/11/24 kevin <[EMAIL PROTECTED]> > > > > > Ok, I've been reading and I have some questions about best practi

[Puppet Users] Creating users

2008-11-27 Thread kevin
I'd like to use puppet to create users. Specifically, I'd like to create users, ensure the .ssh dirs are there, add them to the adm group, that sort of thing. I'm wondering how to do this, I've been looking through the docs but I could use a bit of help... any pointers? --~--~-~--~~--

[Puppet Users] Re: Creating users

2008-11-27 Thread kevin
On Nov 27, 7:33 pm, RijilV <[EMAIL PROTECTED]> wrote: > 2008/11/27 kevin <[EMAIL PROTECTED]> > > > > > I'd like to use puppet to create users. > > > Specifically, I'd like to create users, ensure the .ssh dirs are > > there, add them to t

[Puppet Users] fileserving, puppet:// urls and modules

2008-12-01 Thread kevin
So, I have some files that I would like to have the puppetd's pull from the master. I've written the modules to include a files directory. Now, from the module specs , does this mean that i can say { ... source => puppet://files/file.name } ? --~--~-~--~~~---~--~--

[Puppet Users] Re: fileserving, puppet:// urls and modules

2008-12-01 Thread kevin
On Dec 1, 4:40 am, "Bjørn Dyre Dyresen" <[EMAIL PROTECTED]> wrote: > 2008/12/1 kevin <[EMAIL PROTECTED]> > > > > > So, I have some files that I would like to have the puppetd's pull > > from the master.  I've written the modules to in

[Puppet Users] More module questions

2009-01-17 Thread kevin
I'm trying to set up something according to the: http://reductivelabs.com/trac/puppet/wiki/PuppetBestPractice Now, I'm adding the virtual categories for the users, and I'm a bit confused: looking at the above link i see virtual.pp for the virtual users, and unixadmins.pp for the realized users

[Puppet Users] adding passwords for users

2009-01-17 Thread kevin
How does one add a password to a newly created user? --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this gr

[Puppet Users] is the "line" directive/option deprecated now?

2009-01-18 Thread kevin
So I am looking at david's manifests to try to get a clue and i see this: class sudo inherits david { line { david_sudoer: file => "/etc/sudoers", line => "david ALL=(ALL) ALL", ensure => present, require => Package[sudo], } }

[Puppet Users] What is an "external node tool"

2009-01-19 Thread kevin
I've been a bit confused by this terminology: What exactly is such a tool? What purpose does it serve? Are there any examples? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this g

[Puppet Users] Re: What is an "external node tool"

2009-01-20 Thread kevin
On Jan 19, 10:23 pm, Andrew Shafer wrote: > Kevin, > > Using external nodes decouples the definitions of classes and code from the > hosts that will apply them. > > This approach also allows you to introduce arbitrary variables and values > that will be used by the classe

[Puppet Users] checking syntax or linting a manifest without applying it

2009-01-20 Thread kevin
How would I check the syntax of a site installation? Ideally I'd run a command on site.pp, and have the syntax of all the imported files checked, before i deployed it onto systems. is this possible? --~--~-~--~~~---~--~~ You received this message because you are s

[Puppet Users] Re: Editors for .pp files

2009-01-20 Thread kevin
On Jan 20, 1:43 pm, Jeff Leggett wrote: > Vim here too.. Luke wrote a puppet.vim syntax highlighter on the wiki > you can use for it, and I have a quickie little syntax parser I use as > well: > > let project="" > let compile_file="" > > augroup compile >         au! >         au bufenter *.pp

[Puppet Users] Re: checking syntax or linting a manifest without applying it

2009-01-20 Thread kevin
On Jan 20, 11:34 pm, James Turnbull wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > kevin wrote: > > How would I check the syntax of a site installation? > > > Ideally I'd run a command on site.pp, and have the syntax of all the > > import

[Puppet Users] debugging

2009-01-22 Thread kevin
Here is what I'd like to do: I'd like to run puppet and see exactly what it would do, or what it tried to do. Do i need to run puppet or puppetd to get that to happen? I've been trying the --verbose --parseonly options, but they have not been working as I would expect... --~--~-~--~

[Puppet Users] --genconfig questions

2009-01-23 Thread kevin
Ok, I'm using the genconfig switch to puppet to generate a config. I see that i get a [puppet] section if i use puppet, a [puppetmasterd] section if i use puppetmasterd,and a [puppetd] section if i user puppetd. How do these 3 similar files ( from diff ) interact exactly? --~--~-~--~

[Puppet Users] executing one liner with puppet

2009-01-26 Thread kevin
Hi, I need to bulk enable a series of apache modules on debian/ubuntu. on the server itself I would just use this invocation: ( works, not sure about the style points ) perl -e 'print join " ", map { /^(.*?)\.load/ } <*.load>' | a2enmod Now i just need to get puppet to do this for me, so

[Puppet Users] genmanifest question

2009-03-05 Thread kevin
Hi all, puppet --genmanifest : Should this not introspect all the packages on my system? I ran it just now on ubuntu intrepid, puppet 24.7, and it just gave me puppet related things... Is it not possible to configure a system using the packages I want, and then run puppet --genmanifest to retri

[Puppet Users] Re: genmanifest question

2009-03-06 Thread kevin
. > > You probably want to look into the 'ralsh' command. Thanks! that's the one i was looking for --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet

[Puppet Users] Setting timezone in ubuntu and timezone conventions

2009-03-14 Thread kevin
Is there a puppet way to set timezones in ubuntu? I've been using dpkg-reconfigure, but that shows me a gui, which is somewhat distasteful Slightly off topic: What is the convention for setting timezones? Set them based on the servers phsyical location? On the admin's location? Clients locati

[Puppet Users] setting language in ubuntu

2009-03-14 Thread kevin
>From time to time, a new ubuntu install will have problems with locales, and language settings.I'd like to set up a recipe to fix this, so that things like perl ( especially perl ) work. Is there a convention/method for this? --~--~-~--~~~---~--~~ You received

[Puppet Users] Re: Setting timezone in ubuntu and timezone conventions

2009-03-15 Thread kevin
Thanks to all who replied. UTC sounds good to me. --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this grou

[Puppet Users] already initialized constant

2009-03-31 Thread kevin
I've seen the debian bug report, but is there a workaround for this issue? # puppet --version /usr/lib/ruby/1.8/xmlsimple.rb:275: warning: already initialized constant KNOWN_OPTIONS /usr/lib/ruby/1.8/xmlsimple.rb:280: warning: already initialized constant DEF_KEY_ATTRIBUTES /usr/lib/ruby/1.8/xmls

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

Re: [Puppet Users] synchronizing git repository

2012-12-12 Thread Kevin
Have you considered the vcsrepo module for this? https://github.com/puppetlabs/puppetlabs-vcsrepo -- 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@googlegroups.com. To unsubscribe from this group,

[Puppet Users] Re: Retrieving pluginfacts?

2014-09-03 Thread kevin
Ever find a solution to this? I'm running into this same problem right now. On Tuesday, April 8, 2014 9:49:18 AM UTC-4, Bret Wortman wrote: > > This is new to our environment and is only occurring on a handful of > systems: > > When they run puppet agent, we see this: > > # puppet agent -t > Info

[Puppet Users] puppet 3 to 2016.4

2016-10-12 Thread kevin
how does a enterprise work on the puppet moving on puppet 3 to 2016.4 can any one give me the complete description of all the steps included. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emai

Re: [Puppet Users] puppet 3 to 2016.4

2016-10-12 Thread kevin
What scripting language will they be using for the moving much of Ruby2.0 dependency or python On Wednesday, October 12, 2016 at 6:00:12 AM UTC-5, Rob Nelson wrote: > > Check out the docs at https://docs.puppet.com/upgrade/ > > On Tuesday, October 11, 2016, kevin > > wrot

Re: [Puppet Users] puppet 3 to 2016.4

2016-10-13 Thread kevin
chmidt | +46 723 867 157 > > On 12 October 2016 at 20:06, kevin > > wrote: > >> What scripting language will they be using for the moving much of >> Ruby2.0 dependency or python >> >> On Wednesday, October 12, 2016 at 6:00:12 AM UTC-5, Rob Nelson wrote: &g

Re: [Puppet Users] puppet 3 to 2016.4

2016-10-13 Thread kevin
Thanks for the reply. It helped the. how long does it usually take to migrate.90 days will be fine On Thursday, October 13, 2016 at 4:16:58 PM UTC-5, Henrik Lindberg wrote: > > On 13/10/16 22:25, kevin wrote: > > how do they do that. > > Who is they? > Do what? > >

[Puppet Users] can anyone change these to the to use the hash para meters to create resources urgent

2016-10-27 Thread kevin
if is_hash($config_settings) { $config_settings_real = merge($config_settings_default, $config_settings) create_resources(::postfix::config, $config_settings_real) } if is_hash($transport_settings) { postfix::hash { "/etc/postfix/transport": ensure => present } create_resourc

[Puppet Users] vey urgent can any one use the below code to create hash para meters to create rsources very urgent urgenrt

2016-10-27 Thread kevin
if is_hash($config_settings) { $config_settings_real = merge($config_settings_default, $config_settings) create_resources(::postfix::config, $config_settings_real) } if is_hash($transport_settings) { postfix::hash { "/etc/postfix/transport": ensure => present } create_resourc

[Puppet Users] puppet, virtualenv, and .bashrc

2012-02-08 Thread kevin c
ama-install"], Exec['symlink-panama- post-activate']] } ... {code} results in: ... err: /Stage[main]/Panama/Exec[panama-eggs]/returns: change from notrun to 0 failed: sh: workon: command not found ... fyi # .bash_profile if [ -f ~/.bashrc ]; then source ~/.bashrc Any id

[Puppet Users] Re: puppet, virtualenv, and .bashrc

2012-02-08 Thread kevin c
Would something along the lines of: {code} command => "bash -l -c 'sudo su - panama && workon dev && mmf_eggs'", {code} work? -Kevin On Feb 8, 6:17 am, kevin c wrote: > Morning, > > I am trying to do some environment setup on our developer'

[Puppet Users] Re: puppet, virtualenv, and .bashrc

2012-02-08 Thread kevin c
.sh; workon dev && mmf_eggs"' err: /Stage[main]/Panama/Exec[panama-eggs]/returns: change from notrun to 0 failed: mkdir: cannot create directory `/root/.virtualenvs': Permission denied /bin/sh: workon: command not found Even though there already exists a /home/panama/.virtuale

[Puppet Users] Creating a user (or other type) from hash?

2011-08-25 Thread Kevin Wolf
Is it possible to do something like: $myvar = { ensure => present, group => ''jboss', uid => 901, password => pwhash, } user{'jboss': $myvar } This fails at the user definition. Kevin. -- You received this message because you are subscribed to the Go

[Puppet Users] Collecting only certain virtual resources?

2011-10-19 Thread Kevin Wolf
red configs, and have three puppet masters, one in each location. All three are connecting to the same mysql db for stored configs. Any suggestions? There might just be some simple syntax that I'm missing. Thanks, Kevin. -- You received this message because you are subscribed to the Goog

[Puppet Users] Re: Error when setting up stored configurations "unable to open database file"

2011-10-19 Thread Kevin Wolf
I agree; try as root. Also, what does your puppet.conf look like on the puppet master? Kevin. On Oct 18, 6:07 am, Chris wrote: > Hi, > > I'm getting the following error when I try to set up stored > configurations. It appears in the master logs when the agent process > r

[Puppet Users] Having a group for a node

2012-01-06 Thread Kevin Pelletier
Hi all, I'm currently looking out to implement puppet in our network. I've done a lot of reading (Pro Puppet book) and tested some of it's features, which are working. Right now, I'm trying to find out a way to create a group for a node, here's an example of what I would like : node default

Re: [Puppet Users] Re: quick basics to install functioning ubuntu system?

2010-12-09 Thread Kevin Beckford
Thanks. I did see those before. At the time of my original question, I was looking for sets of modules, which do not seem to exist per se. The urgency has passed, I did it by hand. This however is a terrible way to think ;) so I am relearning puppet for the next time. I think I get it now, what I w

[Puppet Users] Re: Python pip package provider

2010-12-09 Thread Kevin Beckford
distribute2 is the way forward, not pip, I believe. -- 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...@goog

Re: [Puppet Users] Re: Python pip package provider

2010-12-09 Thread Kevin Beckford
Thats good news, then. Great news, in fact! -- 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...@googlegroups.

Re: [Puppet Users] Re: quick basics to install functioning ubuntu system?

2010-12-09 Thread Kevin Beckford
Ah, What I was looking for originally was a higher level of granularity besides modules. Classes, in particular seems to be what I was originally seeking. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to pup

[Puppet Users] Best practices using puppet on partially installed systems.

2010-12-09 Thread Kevin Beckford
So, my configuration attempts are aimed at Linodes . Ubuntu 10.10 to be exact. Linodes are libcloud enabled as well as basically provisioned. What I seek to do is add to that, not build from nothing, since libcloud et. al. give me a base to work with. What is the canonical way to manage this

Re: [Puppet Users] Best practices using puppet on partially installed systems.

2010-12-09 Thread Kevin Beckford
Much appreciated, the good advice. Thanks. That makes total sense, -- 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+u

[Puppet Users] Roadmap wrt the Ruby DSL

2010-12-11 Thread Kevin Beckford
I noticed the posts about a ruby DSL, and I was wondering what the future plan is for this functionality. I _just_ noticed this. Originally I was drawn to puppet because of the declarative nature of the DSL and frankly, because I am not that familiar with Ruby. Are we moving towards ruby as the

Re: [Puppet Users] Roadmap wrt the Ruby DSL

2010-12-11 Thread Kevin Beckford
That's very good to hear, the DSL was much nicer to work with in this domain then Ruby was, for the non Ruby user. I was viewing the DSL like django's template language, or similar, and that helped a great deal. Thanks for the quick reply. -- You received this message because you are subscribed

[Puppet Users] How to add ubuntu ppa

2011-01-13 Thread Kevin Beckford
Now, I noticed the yumrepo, but this is of little use today, I need to add an ubuntu ppa ( a few really ) to my installation. How would this be done? Is there a provider that can do this? I searched for one, and saw an answer dating from 09, but surely things have changed since then? -- You

[Puppet Users] Re: Master-less : What do I lose?

2011-02-09 Thread Kevin Beckford
I think it depends on the use case. I much prefer the git method. I'm trying to do it the classic way this week, but there is a lot of decisions to deploy an efficient puppetmaster which add complexity and unwanted software to some setups. Git does ssh. Git is far faster. Finally, the sour

Re: [Puppet Users] Re: Master-less : What do I lose?

2011-02-09 Thread Kevin Beckford
> It would be non trivial to keep the configuration data isolated in > masterless mode if you have a desire to segment and isolate > configuration data by system, or even system roles (i.e. my website > database system should not contain puppet manifest with my financial > database password). > >

[Puppet Users] Re: Namespace tools?

2011-02-17 Thread Kevin Beckford
try puppet resource --types each type can be enumerated -- 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@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr..

[Puppet Users] Puppet dsl

2011-03-04 Thread Kevin Beckford
Is the puppet dsl a complete Turing capable language? As I understand it, the chain is dsl -> compiled thing -> actions. What language is the compiled thing in? Ruby? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, s

Re: [Puppet Users] Proposal: "strict" mode for manifests

2011-03-14 Thread Kevin Beckford
This certainly explains a lot. A very good idea, IMO. -- 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@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@

[Puppet Users] Does the puppet module tool work with ruby1.9.2?

2011-05-20 Thread Kevin Beckford
puppet-module changelog /opt/local/lib/ruby1.9/gems/1.9.1/gems/puppet-2.6.8/lib/puppet/util/log/destinations.rb:99: warning: class variable access from toplevel /opt/local/lib/ruby1.9/gems/1.9.1/gems/puppet-2.6.8/lib/puppet/application/kick.rb: /opt/local/lib/ruby1.9/gems/1.9.1/gems/puppet-2.6

[Puppet Users] Re: Does the puppet module tool work with ruby1.9.2?

2011-05-23 Thread Kevin Beckford
I shall try this inquiry again: I installed the puppet module tool version 0.3.3 locally to my laptop. I have installed ruby 1.9.2 on the laptop. Surely by now, puppet and facter work with ruby 1.9.2? They certainly seem to work well. I have installed ruby using macports, and am using the +no

Re: [Puppet Users] Re: Does the puppet module tool work with ruby1.9.2?

2011-05-24 Thread Kevin Beckford
I need some sort of login to post this bug there, one which I do not have. -- 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@googlegroups.com. To unsubscribe from this group, send email to puppet

Re: [Puppet Users] Quiesce Puppet?

2010-03-19 Thread Kevin Rae
We solved this by using capistrano tasks to stop puppetd across the hosts, run upgrades, then restart puppetd. Capistrano (or other similar tools) seem to be easier for these type of operational configuration changes vs. trying to model this within puppet. On Fri, Mar 19, 2010 at 3:05 PM, Douglas

[Puppet Users] using classes like functions

2012-08-13 Thread Kevin G.
I'm pretty sure I'm coming at this from the wrong direction, if anybody could point me to what the puppet idiom should be here I'd really appreciate it. I'd like to install two instances of this service on this host, with different parameters: node /^memcache\d+.util.foo.com$/ { class {'

Re: [Puppet Users] using classes like functions

2012-08-13 Thread Kevin G.
> > Short version: use a define. > > > http://docs.puppetlabs.com/guides/language_guide.html#defined-resource-types > That's it, thanks! -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://grou

[Puppet Users] how to intercept a catalog and perform a diff

2012-10-29 Thread Kevin G.
I'm re-reading the puppet docs http://docs.puppetlabs.com/learning/manifests.html and just noticed this footnote If you drastically refactor your manifest code and want to make sure it still generates the same configurations, you can just intercept the catalogs and use a special diff tool on

[Puppet Users] how to install a module from github

2012-10-29 Thread Kevin G.
I seem to be missing something. I've copied the files from this module https://github.com/torrancew/puppet-cron into my modulepath $ puppet master --configprint modulepath /etc/puppet/modules:/usr/share/puppet/modules so it looks like this: /etc/puppet/modules/cron-job/ /etc/puppet/modules/c

[Puppet Users] Re: how to install a module from github

2012-10-29 Thread Kevin G.
On Monday, October 29, 2012 4:19:11 PM UTC-7, Jenner La Fave wrote: > > cron::daily is actually a defined resource type, so you need to declare > that resource as opposed to including a class. If you have multiple nodes > that you would like to include the same cron job on, you can write your own

[Puppet Users] Re: how to install a module from github

2012-10-29 Thread Kevin G.
On Monday, October 29, 2012 4:38:07 PM UTC-7, Jenner La Fave wrote: > > Oh, right. You need to rename /etc/puppet/modules/cron-job/ to cron/ > > The outermost directory needs to match the module name which needs to be > "cron". > Aha! That's it, thank you! > > http://docs.puppetlabs.com/puppet/

[Puppet Users] Error 400 on Server

2012-12-20 Thread Kevin Kitchen
I've just installed PE 2.7 and went through the quickstart. I was able to install the motd module without an issue. I decided to try a Java install module to test what I've (not) learned. I've looked at the init.pp file, the name of the class is "java". It shows as installed correctly on the ag

[Puppet Users] Re: Error 400 on Server

2012-12-21 Thread Kevin Kitchen
ava_version}": ensure => "directory", mode => 0644, owner => root, group => root, alias => "java-app-dir" } } Based on what I understand you saying, class java is interpreted

[Puppet Users] Windows Agent - Reinstall a Software Package

2013-04-05 Thread Kevin Squire
My basic question is Is the Windows Agent suppose to reinstall software when that package is set to "ensure => installed" ? I have the puppetmaster running on a Debian Squeeze (current stable). I have a number of Linux nodes all working perfectly. (the master and all the clients are running v

[Puppet Users] Microsoft dotNet Framework 4.0 (.net, .netfx, dotnetfx)

2013-04-16 Thread Kevin D
this? Is there a resolution? -Kevin -- 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

Re: [Puppet Users] Microsoft dotNet Framework 4.0 (.net, .netfx, dotnetfx)

2013-04-16 Thread Kevin D
rofile Is there a suggestion other than extracting the associated MSIs 'dotNetFx40_Full_x86_x64.exe' and writing two resources (to install each of the MSIs [so the resource name may match the display DisplayName])? -Kevin On Tuesday, April 16, 2013 2:55:19 PM UTC-6, Josh Cooper wrote: &

[Puppet Users] Puppet Windows - Mapped Network Drive and Service Account

2013-04-29 Thread Kevin D
On Windows 2008 R2 SP1, after joining to the domain, there is an issue with a mapped network drive when Puppet agent runs by the "LOCAL SYSTEM" service account. Using dependency chaining, a near the beginning module is "map-networkdrivez". The module execs a batch file that if Z:\ does not exi

Re: [Puppet Users] Microsoft dotNet Framework 4.0 (.net, .netfx, dotnetfx)

2013-04-29 Thread Kevin D
In order to resolve this limitation, I wrote a PowerShell script to install .NET 4. The script checks if the specified components (MSIs) are installed. If one or all of the components are missing, the script will perform a silent install of 'dotNetFx40_Full_x86_x64.exe'. -Kevin

[Puppet Users] Re: Puppet Windows - Mapped Network Drive and Service Account

2013-05-06 Thread Kevin D
I found a resolution! Modify the NTFS and Share permissions: - "myDomain\Domain Computers" = read/execute After the domain join, the computer's "local system" account has access to the mapped drive. -- You received this message because you are subscribed to the Google Groups "Puppet Users

[Puppet Users] equivalent way to iterate through a hash

2013-05-09 Thread Kevin Goess
If I have something like this in my node file: daemontools_service::setup { 'carbon-cache': service_name => 'carbon-cache', extra_envs => { "GRAPHITE_STORAGE_DIR" => "/mnt/statsd-data/graphite-storage" "SOMETHING_ELSE"

[Puppet Users] Re: Need help with python msi install on windows

2013-05-22 Thread Kevin D
Matt, I tried your class in my test environment. Here are my findings: Using Microsoft's Process Monitor, we capture Puppet's call to MSIEXE, the "command line" value reads: msiexec.exe /qn /no restart /i example.com\\temp\\p

[Puppet Users] Re: Need help with python msi install on windows

2013-05-22 Thread Kevin D
Oops... you should also change the provider as Klavs recommends: class python::install { package { 'python': ensure => installed, provider=> 'windows', source => "example.com\\software\\ python\\python-2.7.3.amd64.msi", #install_opt

[Puppet Users] Re: Problems installing git for windows using Puppet

2013-05-24 Thread Kevin D
.8.1.2-preview20130201.exe", mode => '0755', before => Package[$pkg], } package {$pkg: ensure => installed, source =>'C:/Temp/Git-1.8.1.2-preview20130201.exe', install_options => '/silent', } -Kevin On Thursday, May 23, 2013 8:52:21 AM UTC-6

[Puppet Users] Re: Puppet Windows package not seeing DisplayName in Registry?

2013-06-10 Thread Kevin D
Reginal, Does it work if you put the contents of the parameter 'name' into the title of the type: package {'SQL Server 2008 R2 SP2 Common Files': ensure => installed, provider=> windows, source => "C:\\puppet_temp\\${mssql_filename}", install_options =>

[Puppet Users] Re: Puppet Windows package not seeing DisplayName in Registry?

2013-06-13 Thread Kevin D
Can you also provide the output from this powershell command: Get-WmiObject -class win32_product | Where-Object {$_.name.contains("SQL Server 2008")} If a record for the installer isn't in the registry location "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" or the WMI

[Puppet Users] Re: Puppet Windows package not seeing DisplayName in Registry?

2013-06-13 Thread Kevin D
I don't think that I understand. Can you please provide the output? -- 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. T

Re: [Puppet Users] Puppet Windows package not seeing DisplayName in Registry?

2013-06-17 Thread Kevin D
Josh, You mentioned: > Unfortunately, Windows does not have an API for retrieving installed > packages. > Does this include the WMI class Win32_Product? Win32_product provides a limited set of information ab

[Puppet Users] Set environment variable that is visible to package installation

2013-06-19 Thread Kevin Lange
We have RPMs which requires an environment variable to be set prior to installation (contains conf information). What is the best way to do this? I'd like to avoid setting this environment var in each systems' profile. It would be nice to have an option to do this within the package type, bu

Re: [Puppet Users] Invalid resource type anchor.

2013-07-10 Thread Kevin D
I also believe that stdlib needs to be in the same directory of the referenced (or specified) module path. In other words, if moduleA is in /etc/pupppet/modules, then stdlib needs to be in the same parent directory as moduleA. Consequently, if moduleB is in /var/temp/puppet/modules, std needs

[Puppet Users] testing for truth, are the docs correct?

2013-09-12 Thread Kevin G.
According to the documentation at http://docs.puppetlabs.com/puppet/2.7/reference/lang_conditional.html#if-statements, you can test for truth with syntax like this: if $is_virtual == 'true' { AFAICT that's not the case. The quotes around 'true' make the comparison always fail. Here's

Re: [Puppet Users] testing for truth, are the docs correct?

2013-09-12 Thread Kevin G.
> > if $is_virtual == 'true' { > > is_virtual is a fact, all facts are strings so in this case 'true' is > exactly > what is needed :( > That's helpful, thanks, now I understand why it works in that case and why in my case this is what is needed: if $managehome == true { Since the

[Puppet Users] Beginner Question: Structure of a full "application"

2014-01-29 Thread Kevin Breit
I am trying to make Puppet provision an OpenStack node from a base Ubuntu 12.04 install. Unfortunately, I'm new to Puppet and having problems conceptualizing how the programming logic should work. At this time I have a Puppet master and Puppet agent for script development. Here are the steps I

[Puppet Users] Multiple Puppet Masters Sharing .pp files?

2014-03-05 Thread kevin McCartney
We have a few different offices. I am looking to setup a puppet master in each location. I would like them to all have the same node definitions so that all offices are working off the same recipes. Is it possible if we have an nfs share that is accessable to all puppet masters that the .pp fil

[Puppet Users] Re: how to fork a Windows exe

2014-06-02 Thread Kevin D
Sounds like your best option would be to run it as a service. On Friday, May 30, 2014 10:11:43 AM UTC-6, Bill N wrote: > > Hi, > > Just wrote my first puppet module for Windows provisioning. All is > working well except I am having a problem running a windows exe file in > that Puppet appears t

[Puppet Users] Beginner: Cannot find class from a very basic manifest.

2014-06-09 Thread Kevin Stasko
I'm very new to puppet so this is probably going to be the most trivial thing but I've been working on this problem for way too long. I'm creating a Virtual Machine and am using puppet to ensure the four programs that I need installed are there every time I boot up the VM. These four programs a

  1   2   >