[Puppet Users] Removing custom facts from Facter

2012-02-07 Thread wernerbahlke
Hi, I need to remove a custom fact from facter. How to do this? For now, I set the environment variable FACTER_customfact = something but would like to get rid of it permanently. Thanks, Werner -- You received this message because you are subscribed to the Google Groups "Puppet Users" group.

[Puppet Users] Creating user with random password (only once)

2012-02-08 Thread wernerbahlke
Hi, I want to create a user with a random password. Is there a way to only execute the manifest once when the user does not exist but not once the user is created? I know how to create a random password and can use generate to execute this function (or make it a custom fact provided I get this fa

[Puppet Users] Could not prefetch package provider 'freebsd': No resource and no name in property hash in freebsd instance

2012-03-26 Thread wernerbahlke
Hi, I am puzzled. I installed exim-mysql on a freebsd machine without problem before but now this manifest creates an error: class exim::install { package { [ 'mail/exim-mysql' ]: ensure => installed, provider => freebsd, source => 'http://', } } Here is the error: err: Cou

[Puppet Users] Re: Could not prefetch package provider 'freebsd': No resource and no name in property hash in freebsd instance

2012-03-29 Thread wernerbahlke
ld have tipped us off sooner. On Mar 26, 10:07 am, wernerbahlke wrote: > Hi, > > I am puzzled. I installed exim-mysql on a freebsd machine without > problem before but now this manifest creates an error: > > class exim::install { >   package { [ 'mail/exim-mysql' ]

[Puppet Users] Re: Puppet freelancers?

2012-07-09 Thread wernerbahlke
Hi Jeremy, I might be able to help. Currently doing some Puppet consulting work. Please drop me a line at werner dot bahlke at gmail.com. Werner On Saturday, July 7, 2012 1:05:52 PM UTC-4, JeremyCampbell wrote: > > I run a small shop, around 10 servers and spent some time with Puppet but > I'm

[Puppet Users] Ruby program example to post to The Foreman

2012-08-15 Thread wernerbahlke
Hi, I want to use The Foreman to pass variables between nodes. Does somebody have an example of a Ruby parser which does POSTs to The Foreman and can be used in my manifests?. With the exception of a Perl example I have only seen examples for GET operations, for example foreman.rb. I will start

[Puppet Users] Still problem using Chocolatey provider on Windows

2013-03-20 Thread wernerbahlke
As some before me on the group, I have a problem getting the Chocolatey provider to work on Windows. I downloaded it from Github and placed it in /etc/puppetlabs/puppet/modules/chocolatey. (I am running Puppet Enterprise 2.7.19). On a Windows 8 client, I have a very simple manifest: class ins

[Puppet Users] Re: Still problem using Chocolatey provider on Windows

2013-03-22 Thread wernerbahlke
I got it to work on Windows 7. On Windows 8 it would not find the provider. But the provider does not install the package completely for me yet. As a workaround I am using an exec of a powershell script. On Wednesday, March 20, 2013 6:04:30 PM UTC-4, wernerbahlke wrote: > > As some before

[Puppet Users] Windows Pathnames with spaces in Puppet file directive

2013-05-17 Thread wernerbahlke
I have to change a file in c:\Program Files \MSBuild\Microsoft.Cpp\v4.0. I have tried various ways to encapsule the Windows path with spaces but to no avail. The following file { "\"c:\\program files \\MSBuild\\Microsoft.Cpp\\v4.0\\Microsoft.CppCommon.targets\"": ensure => pr

[Puppet Users] Problem using hiera-eyaml

2013-12-06 Thread wernerbahlke
I am trying to use hiera-eyaml and have followed the README instructions. eyaml seems to work, I can encrypt and decrypt files and passwords. I can also use hiera -c to get at an encrypted value like so: hiera -c /etc/puppetlabs/puppet/hiera.yaml rootpwd But when running this simple test mod

[Puppet Users] Re: Problem using hiera-eyaml

2013-12-30 Thread wernerbahlke
ms that are used by PE. > > On Friday, December 6, 2013 8:10:35 AM UTC-7, wernerbahlke wrote: >> >> I am trying to use hiera-eyaml and have followed the README instructions. >> >> eyaml seems to work, I can encrypt and decrypt files and passwords. >> >> I

[Puppet Users] Re: connection error in console UI

2014-01-10 Thread wernerbahlke
Hi Raj, I am seeing the same error. Usually a couple of page refreshes will eventually get you the page with your classes. But is seems that not all classes on your master might be replaced. Not sure yet what the solution is, I had filed a bug but Puppet support could not come up with a clear

[Puppet Users] Problems logging into PE dashboard after inactivity

2014-08-12 Thread wernerbahlke
I have recently noticed the following problem: after long periods of inactivity I do not succeed logging into the PE dashboard. Here is the error: https://puppet/api/server_status?ticket=ST-1407871225rFODw30IRUDwdOspCwK The page you were looking for doesn't exist. You may have mistyped the add

[Puppet Users] How to assure that puppet service starts after puppetserver and puppetdb

2018-02-13 Thread wernerbahlke
We are running Opensource Puppet 4.10.10 on a VM. When booting the VM the puppetserver, puppetdb, mcollective all come up fine. But a systemctl status puppet shows that it could not run, maybe because the pupperserver was not up yet. Any way to assure that it starts later? We tried to changed /