Re: [Puppet Users] Re: Calling a puppet function inside a ruby task

2021-02-04 Thread Kevin Reeuwijk
esult = mymodule::func1('arg1', 'arg2') # assuming mymodule::func1() returns a simple string run_task('mymodule::mytask', 'target.company.com', 'myparam' => $func_result ) } -KevinR On Thu, Feb 4, 2021 at 12:45 PM Raghu Ram Baisani wrote: > T

Re: [Puppet Users] Re: puppet bolt templates ??

2020-02-11 Thread Kevin Reeuwijk
Kind regards, *Kevin Reeuwijk* Principal Sales Engineer, NEMEA mobile: +31 6 272 33 55 1 kev...@puppet.com | @KevinReeuwijk *Puppet <http://www.puppet.com>. The shortest path to better software.* On Tue, Feb 11, 2020 at 4:33 PM Alex Dreyer wrote: > > > On Tue, Feb 11, 2020 at 7:

Re: [Puppet Users] Re: Puppetserver performance plummeting a few hours after startup

2020-02-10 Thread Kevin Reeuwijk
, this will cause excessive CPU usage for calculating the MD5 hash of the file each puppet run: file { 'huge_file.exe': source => 'puppet:///modules/my_module/huge_file.exe' ensure => present } Kind regards, *Kevin Reeuwijk* Principal Sales Engineer, NEMEA mob

Re: [Puppet Users] Trying to source a file from https source version 5.5

2019-12-11 Thread Kevin Cameron
the command you provided it does display the Cert and details but it times out and displays: Timeout : 300 (sec) Verify return code: 21 (unable to verify the first certificate) --- Kevin On Wed., Dec. 11, 2019, 8:14 p.m. Josh Cooper, wrote: > > > On Wed, Dec 11, 2019 at 1:35 PM K

[Puppet Users] Trying to source a file from https source version 5.5

2019-12-11 Thread Kevin C
I am trying to source a file from our Artifactory which using https, but it fails due to cert issues: SSL_connect returned=1 errno=0 state=error: certificate verify failed I found some discussions on this issue here https://tickets.puppetlabs.com/browse/PUP-7814 but adding the cert to the cer

[Puppet Users] Puppet : Install a .deb

2019-11-21 Thread Reth Kevin Bagares
How can I install a .deb file in a puppet custom module? I want to run this command in a puppet ``` wget https://repo.percona.com/apt/percona-release_0.1-6.$(lsb_release -sc)_all.deb sudo dpkg -i percona-release_0.1-6.$(lsb_release -sc)_all.deb sudo apt-get update sudo apt-get install percona-x

Re: [Puppet Users] Urgent Help Required | Puppet run is dead slow

2016-12-12 Thread Kevin Corcoran
On Mon, Dec 12, 2016 at 9:16 AM, Harish Kothuri wrote: > Thanks a lot for your quick reply. > > 1. I'm not sure if it's a memory leak issue because we have restarted the > services and restarted the master machine already. ( have also increased > RAM from 16GB to 32GB + 1 core to 2 cores ) > 30

[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] 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

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? > >

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-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

[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] http keep alive timeout in puppetserver (ie, NOT apache)

2016-06-07 Thread Kevin Corcoran
ting: https://github.com/puppetlabs/trapperkeeper-webserver-jetty9/blob/master/doc/jetty-config.md#idle-timeout-milliseconds. You might also be interested in the 'so-linger-seconds' setting in that document. Kevin -- You received this message because you are subscribed to the Google Groups &

Re: [Puppet Users] Re: Puppetserver crashes when using Code-Manager and file sync

2016-05-18 Thread Kevin Corcoran
y (/opt/puppetlabs/server/data/puppetserver/filesync ) and puppet server's log file (/var/log/puppetlabs/puppetserver/puppetserver.log). Hope this helps, Kevin -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this

Re: [Puppet Users] Puppet enterprize 2016.1 console service not coming up after install

2016-05-04 Thread Kevin Corcoran
It looks like the cause of this all is the last error message: Caused by: java.net.UnknownHostException: cent_poc Is 'cent_poc' resolvable from the machine running conosle services? On Tue, May 3, 2016 at 11:45 AM, Ali wrote: > > Any help will be appreciated . > > During puppet installatio

Re: [Puppet Users] Puppet MultiMaster open source

2016-04-20 Thread Kevin Corcoran
On Wed, Apr 20, 2016 at 5:58 AM, Geoff Galitz wrote: > Is it possible to get compile master, master of master and code manager > (file sync) working in the open source versions? > Code manager and file sync are only available as part of Puppet Enterprise. I believe the standard alternative is t

Re: [Puppet Users] puppetserver 2.2.1-1puppetlabs1 r10k gem jruby not found

2016-01-13 Thread Kevin Corcoran
On Wed, Jan 13, 2016 at 9:04 AM, Kevin Corcoran < kevin.corco...@puppetlabs.com> wrote: > > Even though r10k runs on the master, it runs as a separate process (not > inside of Puppet Server) and uses the system ruby (likely MRI). > ... unless we're talking about the r1

Re: [Puppet Users] puppetserver 2.2.1-1puppetlabs1 r10k gem jruby not found

2016-01-13 Thread Kevin Corcoran
On Tue, Jan 12, 2016 at 10:20 PM, Rudy Gevaert wrote: > Hi, > > I'm trying to set up puppetserver for the first time. I > installed puppetserver 2.2.1-1puppetlabs1 on a trusty server with the > Debian package. I then installed r10k with 'puppetserver gem install r10k > --no-ri --no-rdoc'. > > H

Re: [Puppet Users] puppetserver puppetdb and storeconfigs=true

2015-07-23 Thread Kevin Corcoran
's also https://tickets.puppetlabs.com/browse/PUP-3449 - although I'm not sure if that's any help. - 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, s

Re: [Puppet Users] How to enable/create environments for new puppetserver setup (not puppetmaster)

2015-07-23 Thread Kevin Corcoran
Hi Gene, That looks like a problem with the permissions on that directory. I'd start by making sure that the 'puppet' user has read permissions on /etc/puppet/modules/production. - Kevin -- You received this message because you are subscribed to the Google Groups "Pup

Re: [Puppet Users] puppetserver does not sign its certificate

2015-07-22 Thread Kevin Corcoran
Hi Felix, I tried to reproduce your problem on a fresh Debian 7 VM, but couldn't. Have you been running the agent on this machine? If so, I suspect you're hitting this issue: https://tickets.puppetlabs.com/browse/SERVER-528 Cheers, - Kevin -- You received this message becau

Re: [Puppet Users] Re: Advice on Puppet update to 4

2015-07-22 Thread Kevin Corcoran
llows it to be used with Puppet 3 agents (as well as Puppet 4 agents, of course). https://docs.puppetlabs.com/puppetserver/latest/release_notes.html#whats-new-in-puppet-server-21 - Kevin -- You received this message because you are subscribed to the Google Groups "Puppet Users" gro

[Puppet Users] Re: Joining multiple template files with Hiera

2015-03-24 Thread Kevin Freels
In the words of Emily Litella, "Nevermind". I found puppetlabs-concat, it does exactly what I'm looking for. I knew once I posed the question, the answer would pop out at me. Thanks!! k On Tuesday, March 24, 2015 at 8:54:03 AM UTC-7, Kevin Freels wrote: > > Greetings!

[Puppet Users] Joining multiple template files with Hiera

2015-03-24 Thread Kevin Freels
t unweildy as well. I also tried a few tests with "create_resources", but with similar failing results. Is there any *simple* way to do this? Even a cheesy hack will work for now. Thanks for any help/tips/gotchas. kevin -- You received this message because you are subscribed to t

Re: [Puppet Users] Announce: Puppet Server 1.0.2 available!

2015-02-10 Thread Kevin Corcoran
On Sun, Jan 25, 2015 at 5:07 PM, Trevor Vaughan wrote: > I've been able to do everything from the APIs thus far and, yes, having a > 'puppet master reload' and 'puppet master environment-flush' (or something) > would be nice. > Trevor - I just created https://tickets.puppetlabs.com/browse/SERVER

[Puppet Users] Re: puppet-server 0.4.1 - malformed DN provided by HTTP header x-client-dn

2015-01-03 Thread Kevin DeGraaf
Justin, Thanks! I have successfully worked around SERVER-213 with the following nginx hack: if ($ssl_client_s_dn ~* "^/(CN=.+)$") { set $ssl_client_s_dn $1; } On Monday, December 29, 2014 2:52:39 PM UTC-5, Justin May wrote: > > Hi Kevin, > > We have identifi

Re: [Puppet Users] Puppet Dead but pid file exists

2014-12-29 Thread Kevin Corcoran
This is likely a memory issue. Can you verify that the machine on which you're running the server has sufficient memory? You can also try decreasing the amount of memory allocated to the server - see https://github.com/puppetlabs/puppet-server/blob/master/documentation/install_from_packages.markd

[Puppet Users] puppet-server 0.4.1 - malformed DN provided by HTTP header x-client-dn

2014-12-26 Thread Kevin DeGraaf
Hello, I am evaluating Puppet Enterprise 3.7.1, which includes puppet-server 0.4.1. I am terminating SSL at an Nginx reverse proxy, using a configuration which works fine with the old Apache/Passenger stack: proxy_set_header X-Client-Verify $ssl_client_verify; proxy_set_header X-Client

Re: [Puppet Users] Notification for new Certificate request

2014-12-12 Thread Kevin Corcoran
On Thu, Dec 11, 2014 at 12:26 AM, Martin Alfke wrote: > > AFAIK there is no cert sign request notification directly built into > puppet. Martin is correct; this functionality is not built into puppet. -- You received this message because you are subscribed to the Google Groups "Puppet Users"

Re: [Puppet Users] SSL Cert issues - Puppet Agent and Master on same host

2014-11-19 Thread kevin . masteller
[root@e-imgsrv puppet]# netstat -tulpn | grep 8140 tcp0 0 0.0.0.0:81400.0.0.0:* LISTEN 48905/ruby Don't have any firewall settings as network is unreachable from outside, but [root@e-imgsrv puppet]# iptables -L -n Chain INPUT (policy ACCEP

Re: [Puppet Users] SSL Cert issues - Puppet Agent and Master on same host

2014-11-19 Thread kevin . masteller
On Wednesday, November 19, 2014 6:24:28 AM UTC-5, Johan De Wit wrote: > > > > netstat -tupln | grep 8140 : is puppet master up and running and listening > > iptables -L -n : firewall settings correct > > ping my-puppet-svr : name resolution working > > Just checking the obvious stuff first .

[Puppet Users] SSL Cert issues - Puppet Agent and Master on same host

2014-11-19 Thread kevin . masteller
Currently trying to get puppet, katello and foreman to play nicely. Everything except puppet is working as I would expect. No matter what I try, whether it be blasting the /var/lib/puppet/ssl directory, running --clean (or whatever the commands are), or trying all the steps on the Puppet tro

[Puppet Users] Re: beaker test fails to resolve "agent" roles, works if role is master/database

2014-10-29 Thread Kevin Imber
Hi Manish, I'm having some trouble reproducing the problem that you're seeing. This is working for me with the tests given using generic beaker, although I'm using a different hypervisor at the moment. Are you using beaker-rspec and the modules acceptance tests? Thanks, Kevi

Re: [Puppet Users] Using gem from new puppetserver custom function?

2014-10-17 Thread Kevin Corcoran
I just spent a little time looking into this, and the json gem appears to work just fine under JRuby. It looks like there *used* to be a gem called json-jruby that could be used instead, but it appears that it has now been merged into json - so, long story short, 'json' should work just fine.

[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

Re: [Puppet Users] future parser changes undef to string inside create_resources (tested on puppet 3.5.1 and puppet 3.6.1)

2014-07-31 Thread Kevin Häfeli
After some debugging, I finally found this post. Thank you for posting this issue, that saved me probably a lot of time :-) I had this problem with jfryman's nginx module, when I tried to create some vhosts with or without the parameter "auth_basic". Atm I've some auth_basic => undef resulting

[Puppet Users] How do I send notification to Puppet Master in an event of file change?

2014-07-14 Thread Kevin Aloysius
other way to achieve this. I am running Puppet Enterprise Thanks. 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...@googl

[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

[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] 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] 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

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] 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] 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] 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] 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] 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

[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-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: 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: 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: 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] 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: 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

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] 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-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] 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

[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] 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] 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

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,

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: 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] 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] 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] 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

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] 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] 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] 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] 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] 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] 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

[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] 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] 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

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

[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

[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

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] 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

[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..

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: 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

[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

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] 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] 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] 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] 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

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.

[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: 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] 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] 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] 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: 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] 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

  1   2   >