Re: [Puppet Users] Puppet agent is not running on Windows 11

2022-11-01 Thread Jim Moser
What does the contents of your puppet.conf look like on the host. It appears that the agent is trying to reach the hostname puppet but cannot resolve the name in DNS or on the local host file. You should have entries in the puppet.conf that looks something like this [main]

Re: [Puppet Users] puppet master --compile giving "Warning: Unknown variable: " for Facts

2016-12-01 Thread Jim Perry
The prepended colons are actually the way Puppet 4 guides say to do it now. It is just odd and why I tossed it out to the forum. On Dec 1, 2016 4:30 PM, "Rob Nelson" wrote: > You could try using `$osfamily` (no colons) or $facts['os']['family'] if > you do not need to

Re: [Puppet Users] Best way to set variables based on packages installed on client?

2016-09-16 Thread Jim Perry
Thanks. While I see that Ansible is a nice tool, the clientless access requiring a login has a fatal flaw when compared to puppet. More than once we have had a PAM, SSHD or similar setup get corrupted over dozens, if not all, systems. We were able to fix in Puppet and get the corrections pushed

[Puppet Users] Re: puppetserver unable to start after yum update

2016-09-03 Thread Jim Jim
Not sure why I am not able to see my email. I don't think it has any offensive or rude language ? On Fri, Sep 2, 2016 at 7:09 PM, Jim Jim <jiminfotechnolog...@gmail.com> wrote: > Hi Guys, > > I had a good running puppetserver daemon but after > > sudo yum update -y

[Puppet Users] puppetserver unable to start after yum update

2016-09-02 Thread Jim Jim
.bootstrap$eval14681$read_config__14686$fn__14687.invoke(bootstrap.clj:144) ... 37 more Information about puppetserver [jim@puppet ~]$ puppetserver --version puppetserver version: 2.5.0 [jim@puppet ~]$ puppet agent --version 4.6.1 [jim@puppet ~]$ Host Operat

Re: [Puppet Users] Outofmemory error for puppetserver process

2016-05-31 Thread Jim
Hi Matthaus, Assume its a production environment would we have allowed that ? What I'm interested in clean state of process listing when I run ps command. Is that possible? Regards, Jim On Tuesday, 31 May 2016 01:07:39 UTC+10, Matthaus Litteken wrote: > > Jim, > > The 'XX:OnOutO

Re: [Puppet Users] Outofmemory error for puppetserver process

2016-05-30 Thread Jim
Hi Matthaus, My hostname is misleading. I upgraded at the time of posting to Ubuntu 15.10. Now I have upgraded to 16.04. I ran the command you suggested instead of service puppetserver start and I don't see OutOfMemory errors process. root@jim-Ubuntu1504:~# ps -aef|grep -i puppet|grep -v grep

Re: [Puppet Users] What is the meaning of all these different version commands

2016-05-26 Thread Jim
Thanks heaps for that ! Cheers Jim On Wednesday, 25 May 2016 01:48:09 UTC+10, Rob Nelson wrote: > > `puppet --version` and `puppet agent --version` are effectively the same > and are testing the version of the puppet executable. This comes from a > puppet or puppet-agent packag

Re: [Puppet Users] Outofmemory error for puppetserver process

2016-05-26 Thread Jim
is available! Visit https://github.com/puppetlabs/puppetserver/tree/stable for details. root@jim-Ubuntu1504:/etc/puppetlabs/code/environments/production/manifests# service puppetserver status â— puppetserver.service - LSB: puppetserver Loaded: loaded (/etc/init.d/puppetserver) Active

Re: [Puppet Users] Outofmemory error for puppetserver process

2016-05-24 Thread Jim
Any idea which log file to look at when I run the service puppetserver start command? On Tuesday, 24 May 2016 22:44:03 UTC+10, Jim wrote: > > Hi Johan, > > I did try 512m option not just 256m before posting. and it didn't work. > The link which you have provided talks basical

Re: [Puppet Users] Outofmemory error for puppetserver process

2016-05-24 Thread Jim
find it. Puppetlabs says that they ship it anyway with low value so I don't think that should be cause or concerb. I would probably get hold of logs and see if I can find any valuable information. Kind Regards, Jim On Tuesday, 24 May 2016 15:39:05 UTC+10, Johan De Wit wrote: > > 

[Puppet Users] Re: Custom Facts for windows with powershell

2016-05-23 Thread Jim
Hi Harish, I tried to do a simulation at my end and it might be because of syntax error. Please provide some feedback. Regards, Jim On Tuesday, 24 May 2016 04:08:29 UTC+10, Harish Kothuri wrote: > > Hi, > > I'm trying to create a custom fact to get the installed software using

[Puppet Users] Outofmemory error for puppetserver process

2016-05-23 Thread Jim
root@jim-Ubuntu1504:/etc/puppetlabs/code/environments/production/manifests# ps -aef|grep -i puppet|grep -v grep root 742 1 0 09:39 ?00:00:02 /opt/puppetlabs/puppet/bin/ruby /opt/puppetlabs/puppet/bin/puppet agent --no-daemonize root 1369 1 0 09:39 ?00:00:08 /opt

[Puppet Users] What is the meaning of all these different version commands

2016-05-23 Thread Jim
root@jim-Ubuntu1504:/etc/puppetlabs/code/environments# puppet --version 4.4.1 root@jim-Ubuntu1504:/etc/puppetlabs/code/environments# puppetserver --version puppetserver version: 2.3.1 root@jim-Ubuntu1504:/etc/puppetlabs/code/environments# puppet agent --version 4.4.1 Also If I want to upgrade

[Puppet Users] Re: Custom Facts for windows with powershell

2016-05-23 Thread Jim
Hi Harish, I am new to powershell and would like t help you although I am new to puppet itself. In your powershell command why are you looking for registry key 'Uninstall' should it be Installed? Please advise. Thanks Jim On Tuesday, 24 May 2016 04:08:29 UTC+10, Harish Kothuri wrote

[Puppet Users] Puppetlabs-firewall Parser Error

2015-08-20 Thread Jim Coulter
I have successfully tested the firewall module with puppetserver 1.0.8 and puppet agent 3.7.5 on test nodes with fresh installs of Rhel 6.6 but when I try running on an older node I'm getting the following error: Error: /Stage[main]/Main/Resources[firewall]: Failed to generate additional

[Puppet Users] Create Windows Service

2015-08-17 Thread Jim Miller
= ${$svcName2}, service_description = ${svcDisplayName2}, service_base_path = ${svcPath2}, service_full_path = ${svcFullPath2}, service_binary = ${svcBin2}, } Thanks everyone for your time and brain-cycles. --Jim -- You received this message because

[Puppet Users] Not all host reports in PuppetDB

2015-07-06 Thread Jim Miller
# Broke and no longer processing # removed by Jim 5/8/2015 # ### CONFIGS FOR PUPPET-DASHBOARD # node_terminus = exec # external_nodes = /usr/bin/env PUPPET_DASHBOARD_URL=http://puppet.centric.com:3000 /usr/share/puppet-dashboard/bin/external_node ### CONFIGS FOR PUPPETDB

[Puppet Users] Re: Puppet Environments change after upgrading to 3.7.5

2015-05-13 Thread Jim Miller
Done anyone have any thoughts on this? On Friday, May 8, 2015 at 2:23:27 PM UTC-5, Jim Miller wrote: Hi all, Just upgraded from 3.4.something to 3.7.5 and it seems how we were doing environments is depreciated. I've followed a couple of docs* for how to do this but seem to be missing

[Puppet Users] Re: Puppet Environments change after upgrading to 3.7.5

2015-05-11 Thread Jim Miller
400 on SERVER: Could not find class mywebsite::profiles::web::site_web_dev for . on node Again, Any suggestions would be _greatly_ appreciated. Thanks, Jim On Friday, May 8, 2015 at 2:23:27 PM UTC-5, Jim Miller wrote: Hi all, Just upgraded from 3.4

[Puppet Users] Re: Puppet Environments change after upgrading to 3.7.5

2015-05-11 Thread Jim Miller
. --Jim Hi all, Just upgraded from 3.4.something to 3.7.5 and it seems how we were doing environments is depreciated. I've followed a couple of docs* for how to do this but seem to be missing something. Nodes can't seem to find modules. For now it's not a big deal because it's just

[Puppet Users] Re: Puppet Environments change after upgrading to 3.7.5

2015-05-11 Thread Jim Miller
') environment_timeout = 0 modulepath = /etc/puppet/environments/test/modules: /etc/puppet/environments/test/site/modules environment = test environmentpath = /etc/puppet/environments disable_per_environment_manifest = false On Friday, May 8, 2015 at 2:23:27 PM UTC-5, Jim Miller wrote: Hi all

[Puppet Users] Puppet Environments change after upgrading to 3.7.5

2015-05-08 Thread Jim Miller
Hi all, Just upgraded from 3.4.something to 3.7.5 and it seems how we were doing environments is depreciated. I've followed a couple of docs* for how to do this but seem to be missing something. Nodes can't seem to find modules. For now it's not a big deal because it's just a warning but I'd

Re: [Puppet Users] Help with provider inheritance of Josh Cooper's Exec PowerShell Provider

2015-01-23 Thread Jim Ficarra
and lets me remove all the extraneous extra parameters I don’t need. So in this case, provider inheritance wasn’t my friend. From: Jim Ficarra Sent: Thursday, January 22, 2015 6:26 PM To: puppet-users@googlegroups.com Subject: Re: [Puppet Users] Help with provider inheritance of Josh Cooper's

Re: [Puppet Users] Help with provider inheritance of Josh Cooper's Exec PowerShell Provider

2015-01-22 Thread Jim Ficarra
the realm of sanity, please feel free. From: Jim Ficarra Sent: Thursday, January 22, 2015 2:24 PM To: puppet-users@googlegroups.com Subject: [Puppet Users] Help with provider inheritance of Josh Cooper's Exec PowerShell Provider I'm as newbie as they come to both Ruby and custom provider

[Puppet Users] Help with provider inheritance of Josh Cooper's Exec PowerShell Provider

2015-01-22 Thread Jim Ficarra
I'm as newbie as they come to both Ruby and custom provider development, so apologies if I'm missing the obvious up front. :) I want to write a custom type/provider to manage IIS Settings. I realize that there are at least 3 IIS modules in the forge already (and we are using one of them) but I

Re: [Puppet Users] Best way to deploy the Puppet client to a large set of Windows servers?

2014-10-02 Thread Jim Ficarra
service on the remote server – so there’s a trace left behind you may need to clean up (yuck). Hope this helps. -Jim From: Brian Morris Sent: Thursday, October 02, 2014 6:24 PM To: puppet-users@googlegroups.com Subject: Re: [Puppet Users] Best way to deploy the Puppet client to a large set

Re: [Puppet Users] windows mount points

2014-09-01 Thread Jim Ficarra
choose, variables, et. Hope that helps. -Jim -Original Message- From: Benjamin Priestman Sent: Monday, September 01, 2014 1:00 PM To: puppet-users@googlegroups.com Subject: [Puppet Users] windows mount points Hi, On windows hosts, I've taken to putting all my app data in c:\srv, mimicing

Re: [Puppet Users] windows mount points

2014-09-01 Thread Jim Ficarra
whoops - disregard - I re-read and missed that the latter case was a linked location. -Original Message- From: Jim Ficarra Sent: Monday, September 01, 2014 2:59 PM To: puppet-users@googlegroups.com Subject: Re: [Puppet Users] windows mount points Have you declared the folder before

Re: [Puppet Users] How can we satisfy goals of having all data in hiera and not modifying the module code?

2014-08-25 Thread Jim Ficarra
You could setup setup the host-specific yaml as: vhost:“first.example.com” port: “80” priority:“10” docroot:“/var/www/first” Then your module: $vhost = hiera(‘vhost’) $port = hiera(‘port’) $priority = hiera(‘priority’) $docroot: = hiera(‘docroot’)

Re: [Puppet Users] install windows package

2014-08-12 Thread Jim Ficarra
out of the box if your installer displays information in Control Panel/Installed Programs. If your installer doesn’t, you should look at using Rob Reynold’s Chocolatey packaging tool in conjunction with Josh Cooper’s Chocolatey Provider for the package resource type. -Jim From: huhm4n Sent

Re: [Puppet Users] Facter path issue

2014-07-18 Thread Jim Richard
with a regex? https://lh3.googleusercontent.com/-1qTwaiZxz0s/U8k9oPOJYXI/B-k/YXycPbeOk9o/s1600/Screen+Shot+2014-07-18+at+11.26.54+AM.png On Thursday, July 17, 2014 6:12:26 PM UTC-4, Rob Reynolds wrote: On Thu, Jul 17, 2014 at 2:37 PM, Jim Richard jimr...@gmail.com javascript: wrote

[Puppet Users] Re: Facter path issue

2014-07-18 Thread Jim Richard
query HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment /v Path') my_fact.rpartition('REG_EXPAND_SZ').slice(2).strip end end Thanks Rob ! On Thursday, July 17, 2014 3:37:03 PM UTC-4, Jim Richard wrote: Facter on a Windows 2008R2 server is doing something weird. Version

[Puppet Users] Facter path issue

2014-07-17 Thread Jim Richard
Facter on a Windows 2008R2 server is doing something weird. Version of facter is 2.0.2. If I, from the Puppet command prompt, do a echo %Path%, I see exactly what I expect. But if I say facter Path, it shows me all of the Puppet added path stuff twice, ie. the output is almost twice as much

Re: [Puppet Users] installation of package to a different folder

2014-06-26 Thread Jim Ficarra
Try the install_options attribute of the package type. You need to know what the install option is for the JDK itself to go to another folder, then use the install_options attribute in puppet. http://docs.puppetlabs.com/references/latest/type.html#package-attribute-install_options From:

Re: [Puppet Users] installation of package to a different folder

2014-06-26 Thread Jim Ficarra
. From: bobby38 Sent: Thursday, June 26, 2014 1:46 PM To: puppet-users@googlegroups.com Subject: Re: [Puppet Users] installation of package to a different folder Hi Jim, Thank you for your reply. i couldnt find anything related to JDK installation option in that page but I was thinking to do

Re: [Puppet Users] Chocolatey pre-fetch fails with Puppet - Could not prefetch package provider 'chocolatey': undefined method `each' for nil:NilClass

2014-06-23 Thread Jim Ficarra
a powershell prompt while the PSModulePath was messed up. This was a bit of a tough one to crack as the underlying powershell errors were masked behind the ruby. On Mon, Jun 23, 2014 at 1:10 PM, Rob Reynolds r...@puppetlabs.com wrote: On Tue, Jun 17, 2014 at 3:55 PM, Jim Ficarra jimfica

[Puppet Users] Chocolatey pre-fetch fails with Puppet - Could not prefetch package provider 'chocolatey': undefined method `each' for nil:NilClass

2014-06-17 Thread Jim Ficarra
Chocolatey is installed as a shared module on the puppet master. Below is the specific part of the puppet code that uses the chocolatey provider to install a custom package. class install_carbon { package {'carbon': ensure = '1.7', provider = 'chocolatey', } } This class is part of a

Re: [Puppet Users] Chocolatey pre-fetch fails with Puppet - Could not prefetch package provider 'chocolatey': undefined method `each' for nil:NilClass

2014-06-17 Thread Jim Ficarra
the chain to the provider, let's execute puppet agent -td --verbose --trace This should really get us to what might be causing the error. On Tue, Jun 17, 2014 at 12:51 PM, Jim Ficarra jimfica...@gmail.com wrote: Chocolatey is installed as a shared module on the puppet master. Below

Re: [Puppet Users] Chocolatey pre-fetch fails with Puppet - Could not prefetch package provider 'chocolatey': undefined method `each' for nil:NilClass

2014-06-17 Thread Jim Ficarra
us to what might be causing the error. On Tue, Jun 17, 2014 at 12:51 PM, Jim Ficarra jimfica...@gmail.com wrote: Chocolatey is installed as a shared module on the puppet master. Below is the specific part of the puppet code that uses the chocolatey provider to install a custom package

Re: [Puppet Users] Chocolatey pre-fetch fails with Puppet - Could not prefetch package provider 'chocolatey': undefined method `each' for nil:NilClass

2014-06-17 Thread Jim Ficarra
? (choco /?) Moving up the chain to the provider, let's execute puppet agent -td --verbose --trace This should really get us to what might be causing the error. On Tue, Jun 17, 2014 at 12:51 PM, Jim Ficarra jimfica...@gmail.com wrote: Chocolatey is installed as a shared module

Re: [Puppet Users] Ability to wait for dotnet to complete installation

2014-06-04 Thread Jim Ficarra
','/norestart'], } Hope this helps. -Jim From: Stephen Wallace Sent: Wednesday, June 04, 2014 2:15 AM To: puppet-users@googlegroups.com Subject: [Puppet Users] Ability to wait for dotnet to complete installation Hi all, Interesting timing challenge

Re: [Puppet Users] Windows exe fork

2014-06-01 Thread Jim Ficarra
I’m not familiar with how the Reimann monitoring client runs – but if you run it at the command line and it runs within the shell and requires the command shell to run perpetually, you could try “start.exe reimannclient.exe” or whatever the name of the exe is. There are a # of command line

Re: [Puppet Users] Puppet for Windows - Problems with Oracle 11g client install

2014-05-24 Thread Jim Ficarra
On Mon, May 19, 2014 at 6:46 PM, Jim Ficarra jimfica...@gmail.com wrote: Thanks for replying, Josh. I just tried your suggestion but the same thing happens. install_options = ['-silent', '-waitforcompletion', '-noconsole'. '-responseFile', 'D:\Build\Ora11gclient.rsp'], It spawns several

Re: [Puppet Users] Puppet for Windows - Problems with Oracle 11g client install

2014-05-24 Thread Jim Ficarra
– that has saved me more than you can imagine! If you have any additional thoughts, please feel free. -Jim From: Jim Ficarra Sent: Saturday, May 24, 2014 10:01 PM To: puppet-users@googlegroups.com Subject: Re: [Puppet Users] Puppet for Windows - Problems with Oracle 11g client install

Re: [Puppet Users] Puppet for Windows - Problems with Oracle 11g client install

2014-05-19 Thread Jim Ficarra
? I’m guessing based on the behavior, but it looks like the install kicks off several processes, and after the unzip the other processes seem to be waiting for some signal that never happens. Any additional thoughts? Thanks. -Jim From: Josh Cooper Sent: Monday, May 19, 2014 3:44 PM

[Puppet Users] Puppet for Windows - Problems with Oracle 11g client install

2014-05-18 Thread Jim Ficarra
Trying the following in both package and exec providers D:\Build\Oracle11gclient\setup.exe -silent -waitforcompletion -noconsole -responseFile D:\Build\Ora11gclient.rsp I can run this at the command line and install Oracle 11g client silently.Once I put it in a package or try to exec it, I get

[Puppet Users] Re: Referencing a value from one level to another.

2014-04-17 Thread Jim Donnellan
John, Thanks so much; this worked as expected. -- 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 view this

Re: [Puppet Users] Setting validproperties fields in provider modules

2014-04-16 Thread Jim Perry
Thanks. I am still learning Ruby so I will look into accessors in more detail. What I am trying to do is call the HPUX provider and use it to set the min and max age that gets passed back to the parent. Then I also need to be able to verify the right commands are used to reset the expiration when

Re: [Puppet Users] Setting validproperties fields in provider modules

2014-04-14 Thread Jim Perry
Not so far. You are the first reply. On Apr 14, 2014 11:52 AM, Felix Frank felix.fr...@alumni.tu-berlin.de wrote: Hi, sorry for the late reply. Did you ever get this fixed? Cheers, Felix On 02/20/2014 03:29 AM, HPUX_PUPPET wrote: I am still working to the HPUX provider to handle

Re: [Puppet Users] Setting validproperties fields in provider modules

2014-04-14 Thread Jim Perry
Not yet. I don't have it working and I was asking how to get our data for troubleshooting it first. On Apr 14, 2014 11:59 AM, Felix Frank felix.fr...@alumni.tu-berlin.de wrote: Okay then. Is your code up on github or pastebin for direct review? On 04/14/2014 05:53 PM, Jim Perry wrote: I

[Puppet Users] Referencing a value from one level to another.

2014-04-14 Thread Jim Donnellan
. Does this sound doable? Thanks in advance, Jim -- 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 view this discussion

Re: [Puppet Users] Good resources for writing rspec tests for puppet code changes?

2014-02-19 Thread Jim Perry
Thanks for the links, I will take a look at them. I would love to get some training on it, but the company won't spring for it. So it looks like I am hacking it out with everyone's help and Google. On Wed, Feb 19, 2014 at 4:44 AM, Martin Alfke tux...@gmail.com wrote: Hi, On 19 Feb 2014, at

Re: [Puppet Users] Puppetlabs-firewall and Logging

2013-12-13 Thread Jim Miller
', destination = '10.x8.x0.x5', proto = 'udp', port = '53', action = 'accept', } - firewall { '016 fwd to dns_out': chain = 'OUTPUT', outiface = 'eth0', destination = '10.x8.x0.x5', proto = 'tcp', state = 'NEW', port = '53', action = 'accept', } Jeff On 12/11/2013 10:24 PM, Jim Miller

Re: [Puppet Users] Puppetlabs-firewall and Logging

2013-12-13 Thread Jim Miller
--log-prefix ssh_in -A ssh_in -p tcp -m comment --comment 011 ssh_in -j ACCEPT COMMIT On Friday, December 13, 2013 6:15:25 PM UTC-6, Jim Miller wrote: These rules are being applied in the pre.pp so they run first. Since we're just testing this out the only rules we have are in pre.pp

[Puppet Users] Puppetlabs-firewall LOG and Drop

2013-12-11 Thread Jim Miller
= 'LOG', log_prefix = 'dropped ', before = undef, }~ firewall { '999 Default Drop': chain = 'droplog', action = 'drop', before = undef, } } Thanks, Jim -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group and stop

[Puppet Users] Puppetlabs-firewall and Logging

2013-12-11 Thread Jim Miller
generates any errors. My understanding of reading the doc is the default policy is 'accept' when not specified (not sure about custom chains). When I try to connect to the server, I don't see logs being generated. Thanks, Jim -- You received this message because you are subscribed

Re: [Puppet Users] using GIT for environments

2013-08-19 Thread Jim Toth
On Sun, Aug 18, 2013 at 9:04 PM, me 1 solarflo...@gmail.com wrote: On Sunday, August 18, 2013 6:13:38 PM UTC-4, Jim Toth wrote: There are a few ways to go; probably the best way is to set up a bare repository that you push and pull from in both places, but I'd probably add the development

Re: [Puppet Users] using GIT for environments

2013-08-19 Thread Jim Toth
Hmm...you might need to add git remote update in there. git pull does that by default. On Mon, Aug 19, 2013 at 1:22 PM, me 1 solarflo...@gmail.com wrote: On Sun, Aug 18, 2013 at 9:04 PM, me 1 solar...@gmail.com wrote: On Sunday, August 18, 2013 6:13:38 PM UTC-4, Jim Toth wrote

Re: [Puppet Users] using GIT for environments

2013-08-18 Thread Jim Toth
/directory git merge --ff-only devel/master (--ff-only because I'm paranoid -- that will give you the same sort of warnings that git push would give you if you the trees had diverged). -- Jim Toth On Sun, Aug 18, 2013 at 2:36 PM, me 1 solarflo...@gmail.com wrote: On Sunday, August 18, 2013 3:24:40

[Puppet Users] Re: Passenger with Puppet 3.0, problems running under

2013-07-25 Thread Jim Toth
As I recall, if the config.ru itself isn't owned by the puppet user, we'll get similar errors from Passenger (spewing out an HTML error page, which the agents then unhelpfully log). It might be something else -- given that it's HTML, you might want to just go to https://your puppet server:8140

[Puppet Users] example42 puppet-squid

2013-05-13 Thread Jim Miller
I am using example42s squid module https://github.com/example42/puppet-modules/tree/master/squid, and trying to define certain user variable at the puppet/manifest/nodes.pp level This is the first module of their's I've tried, I've read over their documentation and FAQ and for the life of

[Puppet Users] Citrix Netscalers

2013-04-05 Thread jim
Hello all, has anyone created a module for managing Citrix Netscalers using the Nitro API ? Regards James -- 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] Encrypt Passwords in Manifests

2013-04-03 Thread jim
Hello all I mainly use Puppet for managing windows hosts, and what to know they best way to either encrypt passwords in manifests or where to store them so they are encrypted and reference them as in a variable etc ? (if that makes sense) e.g. class roles::base::users { user {

[Puppet Users] Windows Remote Desktop Services Custom Facts HELP, please

2013-04-03 Thread jim
Hello all, I recently posted a question about a Windows Feature Remote Desktop Services (formaly known as Terminal Services) https://groups.google.com/forum/?fromgroups=#!searchin/puppet-users/remote$20desktop/puppet-users/q71sP3TZZXQ/ymuAMqX5OTsJ the basic problem is fresh installed version

[Puppet Users] Puppet Dell Openmanage users

2013-04-02 Thread jim
Hello all Has anyone out there written a Dell Openmange module for managing users on linux / windows phyiscal hosts ? regards Jim -- 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

Re: [Puppet Users] Windows Reboot

2013-03-21 Thread jim
also. If reboot was a metaparameter, I don't think it would be possible to specify the reboot message or reason code (for different resources) But perhaps that's not really important? Adam On Monday, March 11, 2013 6:55:46 AM UTC-5, jim wrote: Hi Guys I'm using puppet for my windows

Re: [Puppet Users] Re: Windows Remote Desktop Services (Could not find a suitable provider for dism)

2013-03-14 Thread jim
within the dism code when running dism, if feature equals AppServer run this command before change user /install run dism part then change mode back to execute change user /execute complete successful Hope this make sense, and is possible Kind Regards Jim On Wednesday, 13 March 2013 15:06:18

Re: [Puppet Users] Re: Windows Remote Desktop Services (Could not find a suitable provider for dism)

2013-03-14 Thread jim
this make sense regards Jim On Thursday, 14 March 2013 13:32:43 UTC, Vladimir Rutsky wrote: Hello, James! I tested and looks like exitcode parameter doesn't work in DISM, sorry for not working example. I filled bug about this into DISM bug tracker on github: https://github.com

Re: [Puppet Users] Re: Windows Remote Desktop Services (Could not find a suitable provider for dism)

2013-03-13 Thread jim
Hi Rich Thanks for the reply, i've updated the dism module from github, but that hasn't fixed the issue, as i'm still getting the same error err: Could not find a suitable provider for dism Can anyone out there provide an answer Regards Jim On Tuesday, 12 March 2013 23:39:38 UTC, Rich

Re: [Puppet Users] Re: Windows Remote Desktop Services (Could not find a suitable provider for dism)

2013-03-13 Thread jim
, jim str...@gmail.com javascript:wrote: The error is only happening when trying to install Remote Desktop Services (old Terminal Server), it works fine with other roles/features like IIS etc I updated DISM from github by overwritting both lib / spec directorys On Wednesday, 13 March 2013 12

Re: [Puppet Users] Re: Windows Remote Desktop Services (Could not find a suitable provider for dism)

2013-03-13 Thread jim
12 instead of one of [0] at /etc/puppetlabs/puppet/modules/roles/manifests/trm/remote_desktop_services.pp:12 Regards James On Wednesday, 13 March 2013 14:08:54 UTC, jim wrote: Hi Vladimir, Here is the information you are after: debug: Dism[AppServer](provider=dism): Executing 'C

Re: [Puppet Users] Re: Windows Remote Desktop Services (Could not find a suitable provider for dism)

2013-03-13 Thread jim
Hi Vladimir Sorry If you use powershell and import servermanager the feature is called RDS-Server, if you use DISM its called APPServer regards James On Wednesday, 13 March 2013 15:06:18 UTC, Vladimir Rutsky wrote: James, On Wed, Mar 13, 2013 at 6:42 PM, jim str...@gmail.com

Re: [Puppet Users] Re: Windows Remote Desktop Services (Could not find a suitable provider for dism)

2013-03-13 Thread jim
provider for dism So i'm a bit confused regards James On Wednesday, 13 March 2013 15:26:22 UTC, jim wrote: Hi Vladimir Sorry If you use powershell and import servermanager the feature is called RDS-Server, if you use DISM its called APPServer regards James On Wednesday, 13 March 2013

Re: [Puppet Users] Re: Windows Remote Desktop Services (Could not find a suitable provider for dism)

2013-03-13 Thread jim
March 2013 15:51:07 UTC, jim wrote: I update my DISM module with your changes and added this to my manifest dism { 'AppServer': ensure = present, exitcode= [0, 3010, 194], } Here is my SET information: C:\Users\Administratorset ALLUSERSPROFILE=C:\ProgramData APPDATA=C:\Users

Re: [Puppet Users] Re: Windows Remote Desktop Services (Could not find a suitable provider for dism)

2013-03-12 Thread jim
After the reboot, I get the same error as above, err: Could not find a suitable provider for dism Was wondering if this is an error or not, but unable to install Remote Desktop Services using Puppet Enterprise / Puppet module DISM Can you please help Regards Jim On Monday, 11 March 2013 10

Re: [Puppet Users] Re: Windows Remote Desktop Services (Could not find a suitable provider for dism)

2013-03-11 Thread jim
Hi Ryan I've checked my puppet.config and yes plugingsync is set to True pluginsync = true What's weird is it works for dot.net3 / IIS installs etc, etc Regards Jim On Thursday, 7 March 2013 23:04:34 UTC, Ryan Coleman wrote: On Thu, Mar 7, 2013 at 7:50 AM, jim str...@gmail.com

[Puppet Users] Re: Windows Remote Desktop Services (Could not find a suitable provider for dism)

2013-03-07 Thread jim
Can anyone advise on this ?? On Wednesday, 6 March 2013 13:42:10 UTC, jim wrote: Hello all Was wondering if someone could help or advise where i'm going wrong i'm trying to install Windows 2008 R2 Remote Desktop Services via Puppet using either DISM or Powershell modules from the forge

[Puppet Users] Windows Remote Desktop Services (Could not find a suitable provider for dism)

2013-03-06 Thread jim
regards Jim -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To post to this group, send email to puppet-users

[Puppet Users] Puppet Manage Cisco ASA

2013-02-28 Thread jim
monitoring_server on another ASA mon_srv another ASA monsrv It makes understanding the rules alot harder, when there is no uniform object-groups, this is manly to due different network engineers over the years and out network evolving regards Jim -- You received this message because you

[Puppet Users] Re: Puppet Manage Cisco ASA

2013-02-28 Thread jim
I am aware of https://puppetlabs.com/blog/puppet-network-device-management/ but this doesn't manager ACL's or object-groups yet, and my programming skills aren't that great Or has anyone used cisco one platform kit (onepk) via puppet regards Jim On Thursday, 28 February 2013 10:36:22

[Puppet Users] Variables within Manifests question

2013-02-22 Thread jim
appreciated regards Jim -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To post to this group, send email to puppet-users

[Puppet Users] defining hosts regex

2013-02-22 Thread jim
-(a|b)-sql-\d\d$/ how do I make these regex case insensitive as or hosts can be named pos-a-www-02 or POS-A-WWW-02 regards Jim -- 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

[Puppet Users] Re: defining hosts regex

2013-02-22 Thread jim
Or does Puppet put everything into lowercase, as just checked my windows host and its name is in uppercase but when I look at inventory for this host the hostname is in lower case ??? regards jim On Friday, 22 February 2013 14:43:17 UTC, jim wrote: Hi Guys all of our windows hosts, has

[Puppet Users] Re: defining hosts regex

2013-02-22 Thread jim
sorry the clientcert is lowercase the hostname is still upper case so my question on case insensitive is still valid regards jim On Friday, 22 February 2013 14:45:03 UTC, jim wrote: Or does Puppet put everything into lowercase, as just checked my windows host and its name is in uppercase

[Puppet Users] Variables within manifests questions

2013-02-22 Thread jim
', 'http/*:80:*colo_?*.mysite.co.uk' ], } Hope this makes sense just unsure how to achieve this ??? Regards Jim -- 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

Re: [Puppet Users] Re: AWS OpsWorks announcement using Chef

2013-02-20 Thread jim watts
Great. The company I work for is both a large AWS customer and user of puppet. Very interested in how this progresses. -jim On Wednesday, 20 February 2013 18:40:54 UTC+11, James Turnbull wrote: Vaidas Jablonskis wrote: It makes sense for Amazon to go with something like Chef, because

Re: [Puppet Users] Windows MSI Error change from absent to present failed: Failed to install: Fail on INT 24.

2013-02-14 Thread jim
uses forward slashes in the source = directive. Noticing that was one of my changes on my last check-in, I reversed it, and it worked. Hope this helps, jim -- not sure if this would constitute a bug, I've been seeing much more encouragement to use forward-slashes all across Windows, some

[Puppet Users] Windows Firewall Question

2013-02-14 Thread jim
Hello all, I'm currently running 2.7.19 (Puppet Enterprise 2.7.0) I want to use puppet to add / amend or delete windows firewall rules, is there a tidy way of doing this exec { Check_MK_Firewall_Rule_create: command = 'C:\Windows\System32\netsh.exe advfirewall firewall add rule

[Puppet Users] Windows MSI Error change from absent to present failed: Failed to install: Fail on INT 24.

2013-02-12 Thread jim
Hello all, i'm having a few issues whilst trying to install 2 different msi packages and getting the same error and was wondering if anyone could shed some light on where i'm going wrong:- class roles::base::ntsyslog { file { 'C:/Installs/NTSyslog2.msi': source =

Re: [Puppet Users] Puppet Windows Service keeps stopping/starting

2013-02-08 Thread jim
': ensure = 'running', enable = true, require = exec['Check_MK_Agent'], } On Thursday, 7 February 2013 16:24:10 UTC, Josh Cooper wrote: Hi Jim, On Thu, Feb 7, 2013 at 7:15 AM, jim str...@gmail.com javascript: wrote: Hello all, Can anyone please

[Puppet Users] Puppet Enterprise 3.x available ?

2013-02-08 Thread jim
Hello all, I've seen post about Puppet 3.x being available for download but doesn't mention Enterprise ? Is this the same thing ? from puppet labs site i can only find 2.7.x regards James -- You received this message because you are subscribed to the Google Groups Puppet Users group. To

[Puppet Users] Manifest if statement not working

2013-02-08 Thread jim
Hello Can someone please help or explain why this isn't working as read http://docs.puppetlabs.com/guides/language_guide.html It keeps adding the file NOT_present.txt i've played around with == and != and True / false etc, and its not giving me the correct outcome telling if folder exists or

[Puppet Users] Puppet Windows Service keeps stopping/starting

2013-02-07 Thread jim
Hello all, Can anyone please help, every time I push a config to my hosts, the windows service I have just defined keeps stopping and starting, and logging in the eventlog, I only want the service to stop and start, if something has changed, and to my knowledge nothing has changed ? so it

Re: [Puppet Users] Puppet Modules from Forge

2013-01-31 Thread jim
Thanks Guys for your advise and knowledge On Wednesday, 30 January 2013 17:30:08 UTC, Nan Liu wrote: On Wed, Jan 30, 2013 at 9:55 AM, jim str...@gmail.com javascript:wrote: Hello all, I have some questions about the download puppet modules from puppetforge: I'll take puppetlabs-dism

[Puppet Users] Puppet Modules from Forge

2013-01-30 Thread jim
Hello all, I have some questions about the download puppet modules from puppetforge: I'll take puppetlabs-dism as an example, once its installed its located: /etc/puppetlabs/puppet/modules/dism Can this be renamed to something else ? Also if for example, I had a folder tree under modules

[Puppet Users] Puppet Site.pp hierarchy (multi-tenant) question

2013-01-29 Thread jim
Hello all, I was wondering if someone could please help or explain the best approach to setting up puppet as our first requirement is to support multi-tenant within our company what I mean by this is we have different teams supporting different O/S or the same O/S but different

Re: [Puppet Users] Thoughts on roles/profiles class paradigm

2013-01-29 Thread jim
Hello Craig, I was wondering if someone could please help or explain the best approach to setting up puppet as our first requirement is to support multi-tenant within our company what I mean by this is we have different teams supporting different O/S or the same O/S but different

[Puppet Users] Explain Manifests and Modules

2013-01-09 Thread jim
Hello all, Can someone please explain why there is a manifests folder in /etc/puppetlabs/puppet e.g. /etc/puppetlabs/puppet/manifests If there is a manifests folder within each modules folder in /etc/puppetlabs/puppet e.g. /etc/puppetlabs/puppet/modules/ntp/manifests Is this directory

[Puppet Users] Windows Manifest Newline Syntax and Append to file Questions

2012-11-20 Thread jim
Hello all, I'm fairly new to puppet and in the majority a windows shop I have two questions 1.) As windows syntax is slight different than linux syntax, how do I create a new line within a bit of content, e.g. hosts file for windows not linux e.g. file

  1   2   >