Using the puppetlabs/puppetdb module to manage PuppetDB I'm seeing way to
much red text and PuppetDB is not "refreshing" meaning restarting. It is
failing with an error message
java.lang.IllegalArgumentException: Specified bootstrap config file does
not exist: '/etc/puppetlabs/puppetdb/bootstrap.c
d
pattern.
I will mend my ways.
On Mon, May 20, 2019 at 3:33 PM Henrik Lindberg
wrote:
> On 2019-05-20 18:57, Peter Berghold wrote:
> > So here I am I have a base profile for my Ubuntu (Debian family)
> > machines that invokes the class
> >
> > class{'apt':
So here I am I have a base profile for my Ubuntu (Debian family) machines
that invokes the class
class{'apt':
... some paramters
}
I then invoke the class
class{'postgresql': }
and now Puppet is screaming that the class 'apt' cannot be invoked twice.
This seems to be a flaw in Puppet manif
:45 PM Morgan Rhodes wrote:
>
>> Hi Peter,
>>
>> Apologies, we've been having some repo issues today. I'm getting the
>> bionic repository updated now and it should be done within the hour. I will
>> send another update here when it completes.
>>
&
Just this afternoon around 4PM I started noticing this happen in my Docker
builds that incorporate loading the Puppet agent:
W: Skipping acquire of configured file 'puppet/binary-all/Packages' as
repository 'http://apt.puppetlabs.com bionic InRelease' doesn't have the
component 'puppet' (component
>
>
> You don't have a typo in some config, do you?
>
> Best
> Rp
>
> On Mon, Apr 29, 2019 at 10:42 PM Peter Berghold
> wrote:
>
>> I had installed hiera-eyaml on my development box. My home laptop is set
>> up the same way (I think) and the error I
I had installed hiera-eyaml on my development box. My home laptop is set
up the same way (I think) and the error I'm seeing doesn't happen on that
box.
When I end he edit session I'm getting:
/usr/bin/eyaml edit common.eyaml
[hiera-eyaml-core] cannot load such file --
hiera/backend/eyaml/encrypt
After updating my Ubuntu laptop I noticed the Xenial package for Puppet no
longer included the puppet-el package. Where did it go? I relied on it to
keep my Puppet coding more or less compliant with standards... except for
that two space indentation thing...
--
Peter L. Berghold
the puppet-agent package, so
> changing that around will invalidate your test results.
>
>
> On Mon, Jan 28, 2019 at 3:21 PM Peter Berghold
> wrote:
>
>> Gemfile
>> source ENV['GEM_SOURCE'] || 'https://rubygems.org'
: false]
gems['win32-security'] = ['<= 0.2.5', require: false]
gems['win32-service'] = ['0.8.8', require: false]
end
gems.each do |gem_name, gem_params|
gem gem_name, *gem_params
end
# Evaluate Gemfile.local and ~/.gemfile if they exist
extra_gemfiles =
he full output of the command you're running after
> adding `--debug`, and - for this specific case - the Gemfile. With that
> information we'll have a better chance of figuring out what's going on
> there.
>
>
> Cheers, David
>
> On Sat, Jan 26, 2019 at 3:43
When I run "pdk test unit" I get the following error:
pdk (INFO): Using Ruby 2.5.1
pdk (INFO): Using Puppet 6.0.2
pdk (FATAL):
/opt/puppetlabs/pdk/private/ruby/2.5.1/lib/ruby/site_ruby/2.5.0/rubygems.rb:289:in
`find_spec_for_exe': can't find gem bundler (>= 0.a) with executable bundle
(Gem::GemNotF
I'm having a revertment to my noob days with respect to how hiera works.
(Version 3 for now)
If I have the hierarchy of
- common
- nodes/"%{fqdn}"
- datacenter/"%{fdatacenter}"
if in common.yaml I have "module::parms::server: server1" and in
nodes/myclient.yaml I have "module::parms::server: ser
I am about to have our first Puppet 4 Puppet master into our production
environment. We have a very large community of Puppet 3 "leaf nodes" being
managed by our old Puppet 3 infrastructure.
What issues might I run into with that and what should I do to mitigate
this?
--
Peter L. Berghold
>> Is there any chance that you have *too new* an Hiera installed?
I was actually worried at first that there was a regression in terms of
what hiera was on there given the host was "patched" recently. I may have
found the problem and yes I suspected right along the issue was on the
remote master
Hi folks,
I know... I know... get off of Puppet 3. I'll be getting there soon.
Right now I have Puppet 3 in our production environment where I work. Long
political story as to why we are still on 3 that I won't get into. I just
did a release of the Puppet code and one of the "features" of the
I don't want to sound harsh but I'm going to be blunt. I could not get
this thing to work for me on Linux (Ubuntu) even when doing an "npm audit
fix" followed by an "npm audit fix --force" followed by an "npm install"
Very disappointing to me.
On Tue, Jan 8, 2019 at 12:57 PM desertkun wrote:
Josh,
I wiped the entire trees meaning /opt/puppetlabs and /etc/puppetlabs
recursive.
On Wed, Jul 25, 2018, 16:17 Josh Cooper wrote:
> On Wed, Jul 25, 2018 at 6:16 AM Peter Berghold
> wrote:
> >
> > Once again I undertook trying to get a puppetserver in my personal
> com
It would appear that at least a majority of the configuration files that
puppetserver needs to start up do not exist. Is this by design?
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails fr
Once again I undertook trying to get a puppetserver in my personal
computing environment to work and during a fresh install of puppetserver
(removing agent and server first) and clearing the /opt/puppetlabs and
/etc/puppetlabs directories I see the following complaints:
Setting up puppet-agent (1.
I've been running my own personal Puppet server at home for a very long
time and have rebuilt and installed Puppet server many times so what is
going on now makes no sense to me.
Yesterday I decided to rebuild my Puppet master yet again and loaded the
puppetserver package from:
puppetlabs-release
I was looking at someone else's code one day last week and saw a pattern
I've not seen before. Maybe that's what I get for developing Puppet code in
a vacuum. :-)
class someclass (
$parm1 = $::someclass::params::parm1,
$parm2 = $::someclass::params::parm2 # so far I get it.
) inherit
Just a week or two ago I found (re-found?) a web page that laid out all the
steps necessary to incorporate ci_reporter and publish RCOV test results.
Can't find it now. Anybody got the link for that?
Trying to add this functionality to the Jenkins pipeline that publishes my
modules to our testing
About three years ago (4 years ago?) I deployed a Puppet infrastructure for
my company and department based on FOSS Puppet 3.7. Given that's been
deprecated of course I'm very much looking to migrate to Puppet 4.
Besides for about three months I worked for another company and got spoiled
by Puppe
3.8.
>
> On Tue, Sep 26, 2017 at 12:35 PM Peter Berghold
> wrote:
>
>> Seeing things like doing a hiera lookup inside a manifest such as
>>
>> $somevar = hiera('randomvalue','notfound')
>>
>> returning nils and other odd behavio
Seeing things like doing a hiera lookup inside a manifest such as
$somevar = hiera('randomvalue','notfound')
returning nils and other odd behavior.
I have a hiera.yaml file that looks like:
---
:backends:
- yaml
:merge_behavior: deeper
:deep_merge_options: {}
:yaml:
:datadir: "/etc/puppet/e
Doesn't seem to be working for me in Puppet 3.7... should it?
I followed instructions from this page:
https://docs.puppet.com/puppet/3/scaling_multiple_masters.html
Had my support team setup records for three domains, have a test machine
pointing to one of them and it fails to find the Puppet mas
I have a module that I'm refactoring that manages NTP servers and clients.
The client portion of the module performs a puppetdb (Forge Module
dalen-puppetdbquery) lookup to find the local NTP stratum 2 servers to
populate into the client's /etc/ntp.conf file. Works great in real life
but the modul
OK... that calms my concerns a lot.
I have a second Puppet infrastructure that I'm about to build out that I'm
considering not putting Foreman on it at all. Reason being it is going to
be in an environment where there won't be connectivity to 80/443 at all
from outside the environment.
On Mon, J
In the shop that I code for these days we have The Foreman ENC set up and
running. I want to add hiera to the mix but allow our operations folks the
options the ability to change parameter values using the Foreman GUI.
Given the applications we are having Puppet manage this is rather mandatory
sin
Has anybody out there done any sort of study on what Puppet produces in
terms of I/O packet rate? I'm being asked to fill in a spreadsheet with
that information
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group
Hi there. I find myself working for a company that is using PE and for the
last umteen years I've used the FOSS version.
That said I have a question that probably the answer to would apply to both
PE and FOSS.
I am creating a module for the sake of another module (if that makes sense)
that will
Supposedly on the forge site it says the module was tested under Ubuntu.
I'm running Ubuntu Xenial and when I apply the java::oracle class to the
machine I get --
Error: Could not retrieve catalog from remote server: Error 500 on SERVER:
Server Error: Evaluation Error: Error while evaluating a Res
urning nil, thus there is no .collect method on nil.
>
> On Mon, Dec 5, 2016 at 5:25 PM Peter Berghold
> wrote:
>
> The piece of Puppet code the spec testing is complaining about is here:
>
> --8< snip
> 8<--
The piece of Puppet code the spec testing is complaining about is here:
--8< snip
8<-
$servers = ntp_unpackservers(
query_facts("is_ntp_server=true and sitename = ${sitename}",'ipaddress')
)
--8< snip
Garret: I do have dalen-puppetdb in my .fixtures.yaml file. A link to my
project? unfortunately I'm developing all this work inside my client's
cloud and can't provide a link.
On Tue, Nov 1, 2016 at 6:11 PM Peter Berghold
wrote:
> That's what I was beginning to suspe
That's what I was beginning to suspect Andy. Now I have to go find the
Ubuntu version of that
On Tue, Nov 1, 2016 at 5:38 PM Andrew Grimberg
wrote:
> On 11/01/2016 02:25 PM, Garrett Honeycutt wrote:
> > On 11/1/16 4:03 PM, Peter Berghold wrote:
> >> I have a module
I have a module that I am writing spec tests for that uses the Puppet Forge
module cited in the subject line to query for a list of nodes fitting a
particular criteria. When I run the spec test it bombs out with a message:
"cannot load such file -- puppet/util/puppetdb"
After a bit of searching I
tup.
>
> I do not think the agent failure is strictly related, in that the agent
> should work fine out of the box, but by enumerating your test setup, we may
> find some variant settings/locations you use that are causing a conflict.
>
>
> Rob Nelson
> rnels...@gmail.com
What I thought were unrelated issues I've discovered they are related.
I was using RSpec doing spec testing on Puppet code very happily when I
decided to install the Puppet agent (attempting to eat my own dog food of
course) and then RSpec broke.
Error message spec started throwing out:
NoM
Seeing some oddness trying to install/start Puppet agent on Ubuntu 16.
Seeing this (by running "journalctl -xe"):
-- Unit puppet.service has begun starting up.
Oct 25 16:19:45 mtznjv1pdev01 puppet-agent[1879]: Could not autoload
puppet/indirector/report/rest: uninitialized cons
Oct 25 16:19:45 mt
For some odd reason I am seeing the following error when running spec
Failure/Error: it { should contain_class('munin') }
NoMethodError:
undefined method `static_catalogs?' for
#
the manifest it is failing on is merely:
class munin {
}
so this should pass must I'd think (real
p/gpasswd_spec.rb
>
> Thanks,
>
> Trevor
>
> On Fri, Aug 5, 2016 at 8:04 AM, Peter Berghold
> wrote:
>
>> I have this wonderful module that calls various custom functions that
>> I've written that I'm trying to adopt RSpec testing for. After seei
I have this wonderful module that calls various custom functions that I've
written that I'm trying to adopt RSpec testing for. After seeing it crash
and burn with "function unknown" errors I took a rather meandering path and
arrived here: https://github.com/TomPoulton/rspec-puppet-unit-testing
So
Let me preface everything I'm about to say by saying I only started
seriously coding in Ruby about a year ago. I've been a Perl guy since 1989
and C/C++ and friends for longer than that so I'm not a total newbie. The
question I'm going to ask notwithstanding. :-)
What I'm trying to accomplish i
ir.html
>
> Dan White | d_e_wh...@icloud.com
>
> “Sometimes I think the surest sign that intelligent life exists elsewhere in
> the universe is that none of it has tried to contact us.” (Bill Waterson:
> Calvin & Hobbes)
>
In the puppet setup that I have where I work it has been increasingly more
desirable if not required to have each of our data centers be able to
operate standalone. Because of this I've been Googling around looking for a
methodology to allow multiple certificate authorities in puppet. Currently
we
Luckily this doesn't happen all the time, but I've seen in twice now in
about a year's time on two different Puppet masters. Here's some
background.
I have in a central location a "Grand Master" that serves only the "Remote
Masters" each located in a different data center. On the remote masters
to do is "yum install puppet;
>> puppet apply file.pp" that might simplify things from both ends.
>>
>> On Fri, Feb 05, 2016 at 10:00:14PM +, Peter Berghold wrote:
>> >Just the questions you asked prompted me to ask my operators more
>> >quest
Just the questions you asked prompted me to ask my operators more
questions. Seems instructions were not followed when they configured
Puppet so a quick correction solved the problem. Thanks.
On Fri, Feb 5, 2016 at 3:54 PM Peter Berghold
wrote:
> Puppet version: 3.7.2
> OS Family:
#x27; apt repositories instead
> of debian/ubuntu. We don't ship with those settings on by default in our
> packages.
>
> HTH
>
> On Fri, Feb 5, 2016 at 8:18 AM, Peter Berghold
> wrote:
>
>> First a disclaimer: I am trying to provide support for our production
First a disclaimer: I am trying to provide support for our production
team setting up a system as a Puppet agent node and most of the work I'm
doing is being handled with the operations team acting as my voice operated
keyboards.
I handed my operations team instructions on how to install a Pupp
Nevermind... figured out what was going on.. and fixed that problem and
now a more bugs to squash...
How do I raise a failed exception in a provider (this before I start
googleing) :-)
On Mon, Dec 7, 2015 at 9:53 AM Peter Berghold
wrote:
> This email has two parts:
>
> First part
&g
This email has two parts:
First part
Looking at "Sh*t Gary Says" seems to imply I may be going about creating
custom types/providers. I am currently creating a type under
lib/puppet/type/{typename}.rb without that logic doing anything with the
actual logic being in lib/puppet/provider/{typename}
Given the following pattern in a puppet manifest:
file{ 'some/file/foo':
content => 'blah blah blah',
notify => Exec['talkaboutfoo']
}
exec { 'talkaboutfoo':
cmd => "some/command/some/where",
subscribe => File['some/file/foo']
}
with a little bit of hand waving.
Is there so
So,
Now that my schedule has some slack in it I've turned my attention back to
doing spec testing of my Puppet modules. Taking a really really simple
module that I wrote as an example I started in again.
Here is the one and only file making up the class.
-- init.pp -
I have a beaker hosts file that looks like this:
HOSTS:
debian-8:
platform: debian/jessie
image: debian:8
hypervisor: docker
CONFIG:
type: foss
when I run beaker --hosts it chokes on every permutation of debian platform
designation I can think of with this sort of error message:
I'll focus on the mysql module first. I assigned the ::mysql::server
class to one of my hosts expecting mysql server to get loaded and this
happened instead:
Error: Could not retrieve catalog from remote server: Error 400 on SERVER:
Unknown function pick at
/etc/puppet/environments/production/mo
Is there a newer set of documents on doing Spec testing of Puppet modules
than this link?
https://puppetlabs.com/blog/the-next-generation-of-puppet-module-testing
I am running into a brick wall getting this to work so I have to assume I'm
doing something wrong...
--
You received this message bec
Solved it. Had to play with /etc/puppet/auth.conf to get it to work. I've
published a blog page about it.
http://puppet-blog.berghold.net/?p=28#more-28
On Tue, Jul 28, 2015 at 11:45 AM Peter Berghold
wrote:
> Wouldn't thar collide with the Puppet master process listening on 814
Wouldn't thar collide with the Puppet master process listening on 8140?
On Tue, Jul 28, 2015, 10:25 Jonathan Gazeley
wrote:
> You could consider running SSH or rsync on port 8140...
>
> Cheers,
> Jonathan
>
>
>
> On 27/07/15 19:58, Peter Berghold wrote:
>
>
Hi there,
I am trying to keep Puppet modules in sync between Puppet masters in an
environment where SSH is being blocked between the masters (long story
there, corporate security rules), Git and other such are not an option but
I can use port 8140 between them.
So I set up a fileserver.conf like
I think I understand what you are driving at, and your logic seems good to
me. When I was doing web hosting for people I had a class that handled
installing and configuring Apache and a separate module called "sites" that
handled setting up the web sites using the apache::vhost define that
contain
Hi folks,
I've bravely stepped out into the world of writing tests for my Puppet
modules to ensure code quality. Have run into an issue. My
spec/spec_helper.rb has one line.
require 'puppetlabs_spec_helper/module_spec_helper'
I run "rake spec" and this happens:
spec/spec_helper.rb:1:in `requi
I've written a parser function to scrape a website looking for the newest
version of a package I want loaded on my laptop. I'm getting really wonky
results.
Here's the function in all its glory completely un-edited:
require 'net/https'
require "rexml/document"
require 'sanitize'
module Puppet::
Does the apache::vhost facility in puppetlabs-apache support mod_jk
redirects in some fashion I'm missing?
I'm about to use this module (along with a couple of others) to set up
Jenkins on a server of mine for purely research purposes...
--
You received this message because you are subscribed to
I'm sure I've forgotten something here, but in a Vagrant VM I have set up a
test environment to test some stuff before bringing into my Puppet
environment.
Here's my puppet.conf file. Very minimal:
[main]
logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=/var/lib/puppet/ssl
rundir=/var/run/pup
Ever since I upgraded to Puppet version 3.8.1 I now see this error:
Error: /File[/var/lib/puppet/facts.d]: Could not evaluate: Could not
retrieve information from environment production source(s) puppet://
mcadprod1.mca.sharkrivertech.com/pluginfacts
What's that about? Should I worry. Something
; Possibly you mean brute-force attacks?
>
> I find fail2ban useful for this sort of thing, since this is not
> exclusively a firewall issue:
>
> http://en.wikipedia.org/wiki/Fail2ban
>
> That said I haven't ever crossed this with a puppet-managed firewall.
>
> On Tue, May
Hey folks,
I'm trying to figure out how to code rules in puppetlabs-firewall to
mitigate Brew Force Attacks (BFA) and can't figure out how to code it.
Here is the pattern I'm trying to code:
$ sudo iptables -A INPUT -i eth0 -p tcp --dport 22 -m state --state
NEW -m recent --set --name SSH
$ sudo
;
>
> Bill Waterson (Calvin & Hobbes)
>
> On May 6, 2015, at 2:31 PM, Peter Berghold
> wrote:
>
> I use templates to manage a slew of configuration files. One request
> from my end user community (Operations folks) was to have Puppet mark the
> last time a file was modif
I use templates to manage a slew of configuration files. One request from
my end user community (Operations folks) was to have Puppet mark the last
time a file was modified by Puppet as a comment in the file.
Seems like a Heisenburg problem to me. Just marking a time date inside
a template woul
I just finished migrating PuppetDB to use PostgreSQL as a back end when I
noticed these errors coming up in the puppetdb.log
2015-04-29 19:34:57,913 INFO [o.a.h.i.c.DefaultHttpClient] I/O exception
(java.net.SocketException) caught when connecting to the target host:
Network is unreachable
Pupp
I'm using the Puppet Labs firewall module and I noticed much to my chagrin
that when the agent runs and applies rules it undoes all the work that
fail2ban did.
Since I'm also setting up shorewall this thread applies to that as well.
Has anybody gotten this module to play nice with fail2ban?
--
On Thu, Apr 16, 2015 at 11:59 AM Christopher Wood <
christopher_w...@pobox.com> wrote:
>
> Now obviously nobody asked you about this infrastructure, but have you
> explained that connecting to the correct interface is more about routing
> and dns than ssl? And since you're asking for thoughts, you
Where I'm having the issue is on my master.
To generate and sign a cert for the master I ran:
puppet cert generate {hostname}.domain.tld --allow-dns-alt-names
--dns_alt_names={hostname}.domain.tld,{hostname}-eth1.domain.tld,{hostname}.sub.domain.tld
,{hostname}-eth1.sub.domain.tld
substitutin
Is there a more up to date process for this process than this page?
https://docs.puppetlabs.com/guides/scaling_multiple_masters.html
I followed this process and now have a dead puppet. Glad I made backups of
the SSL directory.
What I'm trying to accomplish is due to a architecture that was force
Is there a definitive guide somewhere that would guide me as to how to
write Puppet module tests? In particular I'm interested in learning how to
write a tasklist file.
I keep seeing mention of such but nothing that helps...
--
You received this message because you are subscribed to the Google
Just this morning the Puppet agent got updated to 3.7.5. Now when classes
that use Augeas are applied to hosts I see this:
Error: Could not find a suitable provider for augeas
Is there a workaround/fix for this? I'm on the Debian wheezy platform.
--
You received this message because you are
Ok... I thought so... thanks
On Thu, Mar 26, 2015, 18:18 Jeffrey Watts wrote:
> Put the puppetdb directory in /etc/puppet/modules.
>
> Good luck.
> Jeffrey.
>
>
> On Thu, Mar 26, 2015 at 3:58 PM, Peter Berghold
> wrote:
>
>> OK... excuse me for being a bit den
OK... excuse me for being a bit dense... but how do you install this thing?
i've unzipped it and it isn't very obvious to me...
On Thu, Mar 26, 2015 at 4:47 PM Peter Berghold
wrote:
> puppetdbquery looks worth looking into...
>
> On Thu, Mar 26, 2015 at 4:07 PM Felix
puppetdbquery looks worth looking into...
On Thu, Mar 26, 2015 at 4:07 PM Felix Frank
wrote:
> On 03/26/2015 07:39 PM, Peter Berghold wrote:
> >
> > I guess you can't export such a thing?
>
> You can. But your define is not called 'remotemaster'. Perh
gisterhost() {
include parms
concat::fragment("$fqdn fragment":
content => "${fqdn}",
target=>"${parms::filenmae}"
}
}
I guess you can't export such a thing?
On Thu, Mar 26, 2015 at 1:46 PM Felix Fran
I need a push in the right direction. I have a need to have a subset of
hosts in my environment "register" themselves to receive rsync updates from
a central host. I realize that the right approach is exported resources
but I'm getting stuck on the actual implementation.
Here is what I tried:
i
On Fri, Mar 20, 2015 at 4:18 AM jamese wrote:
> Try running puppet with "--debug" and "--evaltrace" to see where it's
> taking the time.
> I'd be looking at DNS as that is often the culprit for unexplained things.
>
> --
>
A tale I tell is where Puppet was taking three or more minutes to even
be
ike I said, the Puppet console is pretty capable. I would suggest
> downloading an evaluation copy from PuppetLabs and get it deployed in your
> dev envionment (or even in your personal VM). They made it very easy to get
> it up and running.
>
> - Rilindo
>
>
>
> On 03/17/2015
HI folks,
Six months into my project to bring Foreman/Puppet into my work environment
someone has asked the question "Hey! Can we get a licensed version of this
with support?" My answer, "sure... where's the funding?"
That aside I have some questions about Puppet Enterprise:
1) Does it work wi
now I'm mad at myself I must have read that doc ten times in the last
week and missed that very important point.
Good news is my module for managing the configuration of the Remote Masters
now includes that tidbit.
On Thu, Mar 5, 2015 at 9:58 AM Nick Howes wrote:
> Facts are probably comin
I'm going to re-ask this question because the issue is driving me crazy
even though I'm already close enough to walk.
Here's the setup:
[Foreman Server with Puppet/PuppetDB]
^
|
V
I should have followed up, I found the problem using old fashioned "moving
fence" techniques. Don't remember the actual code I found but I redid some
of the logic and it works now.
On Tue, Mar 3, 2015 at 6:58 AM Felix Frank
wrote:
> On 03/02/2015 05:18 PM, Peter Berghol
omewhere, so that we can reproduce?
>
> Generally, I'd like to second John's general advice: Do restart your
> Puppet processes to make sure that changes to your Ruby code take effect.
>
> Best,
> Felix
>
> On 02/27/2015 09:22 PM, Peter Berghold wrote:
> > I th
Can someone look at this code?
def get_bind_cfg_value(key)
Puppet.warning("entered get_bind_cfg")
if Facter.value('multibind_present')
if Facter.value('multibind_configured')
configuration=Facter.value('multibind_configuration')
instance_cfg = configuration[resource(
;"on",
notify=> Service['named-all']
}
anybody see anything objectionable here?
On Fri, Feb 27, 2015 at 2:21 PM Peter Berghold
wrote:
> So, I wrote my type and its provider.
>
> Have a bunch of params and of course the first one I try to use
> ne
e-and-provider-execution-presentation
>
> Thanks,
>
> Trevor
>
> On Fri, Feb 27, 2015 at 11:13 AM, Peter Berghold
> wrote:
>
>> that's exactly what I was after. Since this is my first type/provider
>> pair I'm proceeding cautiously.
>>
>> On F
that's exactly what I was after. Since this is my first type/provider pair
I'm proceeding cautiously.
On Fri, Feb 27, 2015 at 11:09 AM Felix Frank <
felix.fr...@alumni.tu-berlin.de> wrote:
> On 02/27/2015 05:02 PM, Peter Berghold wrote:
> > can I guess that the first de
Using the example of the file provider that is bundled with puppet here is
a sniglet of code that I've zoomed in on:
def mode
if stat = resource.stat
return (stat.mode & 00).to_s(8)
else
return :absent
end
end
def mode=(value)
begin
File.chmod(value.to_i
Puppet::Type.newtype(:bannerfile) do
newparam(:name)do
end
newparam(:bannertext)do
end
newparam(:bannertext2)do
end
end
but a name variable is being defined and I'm still seeing the issue.
On Thu, Feb 26, 2015 at 10:02 AM jcbollinger
wrote:
>
>
> On Wednesday, February 25, 2015 a
I've created a very simple type as follows:
Puppet::Type.newtype(:bannerfile) do
@doc = "Create a text file with banner text"
ensurable
newproperty(:name)do
isnamevar
end
newproperty(:bannertext)do
end
newproperty(:bannertext2)do
end
end
doesn't do anything yet, but it is a s
Thank you! That got it. Why it "didn't work" before I'm not sure. On to
my next "dumb question."
On Wed, Feb 25, 2015 at 3:21 PM Peter Bukowinski wrote:
>
> > On Feb 25, 2015, at 3:20 PM, Peter Bukowinski wrote:
> >
> >
> >> On Fe
I have a situation where there is an uppercase letter in a client's host
name. When Puppet creates the certificate for the host the resultant name
for the is in all lower case as I'd expect.
The trouble comes in where I am managing the /etc/puppet/puppet.conf file.
In my template I have
1 - 100 of 261 matches
Mail list logo