Hi!
As far as I know Hiera at the moment doesn't support multiple datadirs. Does
anybody know if it is going to support it in future releases? It would be
really great if it did.
--
Best regards,
Sergey Arlashin
--
You received this message because you are subscribed to the Google Groups
I agree. I've posted my thoughts and a janky workaround here:
https://tickets.puppetlabs.com/browse/HI-148
On Wed, May 28, 2014 at 11:36 PM, Sergey Arlashin
sergeyarl.maill...@gmail.com wrote:
Hi!
As far as I know Hiera at the moment doesn't support multiple datadirs.
Does anybody know if
I would do it in a .pp file. Removing as many variables as possible is a
good thing.
On Wed, May 28, 2014 at 6:03 PM, Dan White y...@comcast.net wrote:
Thanks, gentlemen, for the suggestions.
I will try both tomorrow.
For the single instance, should I do it explicitly in the dot-pp file or
I am having the same problem but I only have uppet-server-3.6.1, without
passenger, dashboard, etc.
It works correctly for 10' more or less, then start to give errors like:
May 29 14:15:21 HOSTNAME puppet-master[30831]: no 'environments' in
Found it !
A stray case change in an exec resource ( command -- Command )
Many thanks.
“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)
On May 29, 2014, at 03:05 AM,
Downgrade to 3.5.1 since last message and running without problems.
El jueves, 29 de mayo de 2014 14:22:51 UTC+2, Adrián López Tejedor escribió:
I am having the same problem but I only have uppet-server-3.6.1, without
passenger, dashboard, etc.
It works correctly for 10' more or less, then
On Wednesday, May 28, 2014 10:24:25 AM UTC-5, Jeremy wrote:
On 28.05.2014 11:03, Supriya Uppalapati wrote:
Hi,
I have created directories in puppet/manifests/init.pp
more init.pp
class createdirectory {
file { [ /u01/app/,/u01/oracle, /u01/oracle/product, ]:
ensure =
Hi Dan,
Which version of Puppet are you using on Windows? We recently fixed some
encoding issues that would seem to have been limited by similar issues.
Let's try
puppet resource package --debug --trace --verbose
On Wed, May 28, 2014 at 9:05 AM, Dan Gibbons dangibbons@gmail.comwrote:
On Wednesday, May 28, 2014 9:16:47 AM UTC-5, smalderma wrote:
Hi,
I'm working on custom fact that uses Facter::Util::Resolution.exec to run
a command that returns output I want to parse with regex. If I write up a
ruby shell script like:
#!/usr/bin/ruby
out = `command`
out =
As the complexity of our $workplace puppet configuration grows, I am
increasingly worried that puppet gives us very limited visibility over
resources it no longer manages.
In practical terms: if I mess up my class include/require/inherit structure
so that a node A no longer indirectly includes
On Tuesday, May 27, 2014 2:26:51 PM UTC-5, mhoey wrote:
I recently installed a puppet 3.4.3 puppetmaster. I am working on a
project to convert all of our manifests over from 2.7 to 3.4.3. While
trying to run a master/agent setup on the puppetmaster itself, I am getting
the following
On 2014-05-29 15:58, Martin Langhoff wrote:
As the complexity of our $workplace puppet configuration grows, I am
increasingly worried that puppet gives us very limited visibility over
resources it no longer manages.
In practical terms: if I mess up my class include/require/inherit
structure so
I want to know how can we change the jboss port no. which is 8080 by default
--
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
Not that I've heard of such a tool, but if you archived catalogs somewhere you
could compare the lists of resources over time. Or you could turn on catalog
hash debugging to grab the current/previous catalog for the same technique:
Does anyone know how to deal with duplicate instances of facter which
causes errors on the client like below. I am using Oracle Linux 6.3 and
free puppet.
$ sudo puppet agent -t
info: Retrieving plugin
Could not retrieve macaddress: undefined method `exec_ifconfig' for
Facter::Util::IP:Module
I'm probably going about this all wrong, but I have an instance where I've
employed a Puppet module and need to *sometimes* add a creates attribute
to one of the exec's defined there. My code (below) is probably all wrong,
but I think you'll see what I am trying to do...
if $creates != nil
On May 29, 2014, at 10:23 AM, Mark McFate summitt.dwel...@gmail.com wrote:
I'm probably going about this all wrong, but I have an instance where I've
employed a Puppet module and need to sometimes add a creates attribute to
one of the exec's defined there. My code (below) is probably all
I have not tried with the creates param, but if its undef ( I.e. no one
have set it) you can use it directly
exec { drush-${title} :
command = drush ${command} ${root_option} ${uri_option}
${force_option} ${additional_options},
path= [ '/bin', '/usr/bin' ],
creates =
There is /var/lib/puppet/state/state.yaml that records all resources ever
managed and when they were last checked synced. However it only has the
type and title of the resources, so it might be tricky to actually find out
what they were in some cases.
I'm not aware of any tools that make good
Hi Rob,
Thanks for getting back to me.
Agent version 3.4.3, here's the output:
C:\Program Files (x86)\Puppet Labs\Puppet\binpuppet resource package
--debug --
trace --verbose
Debug: Puppet::Type::Package::ProviderAix: file /usr/bin/lslpp does not
exist
Debug:
Thanks Peter, but I can't make that work either. Puppet doesn't seem to
like the defined( ) function inside the exec attributes list. It's kicking
back a syntax error of the form:
Error: Syntax error at 'defined'; expected '}' at
/tmp/vagrant-puppet-1/modules-0/drush/manifests/exec.pp:65
Hi, I have a YAML file constructed like this:
servers:
server1:
host: 1.1.1.1
node: 1
server2:
host: 1.1.1.2
node: 2
I have an erb template that needs the node id where the it address belongs to
the machine it is running on. Is there a way in ruby to select
And thank you Joes Luis, but I'm also unable to make this work. It seems
the $creates parameter must be declared in my module and when left with a
blank or nil value Puppet kicks back this error:
Error: Parameter creates failed on Exec[drush-drush-download-modules]:
creates must be a fully
Have you tried to set it to undef?
El 29/05/2014 17:13, Mark McFate summitt.dwel...@gmail.com escribió:
And thank you Joes Luis, but I'm also unable to make this work. It seems
the $creates parameter must be declared in my module and when left with a
blank or nil value Puppet kicks back this
On Wed, May 28, 2014 at 1:53 PM, Andy Parker a...@puppetlabs.com wrote:
On Tue, May 27, 2014 at 11:33 AM, Kylo Ginsberg k...@puppetlabs.com
wrote:
On Tue, May 27, 2014 at 7:16 AM, Chuck cssc...@gmail.com wrote:
The ability to turn off the deprecation messages would be great. The
only
Ah, I misunderstood and didn't realize that Puppet's 'undef' bareword is
effectively equivalent to a Ruby 'nil'. Thanks for the follow-up! I'm not
all the way there yet, but yes, I believe this approach is working. Thanks.
Just to be clear, I added a parameter definition to the module so
Confirmed... defaulting the parameter to the bareword 'undef' does the
trick. Thanks again for the assist.
-Mark
On Thursday, May 29, 2014 10:32:10 AM UTC-5, Mark McFate wrote:
Ah, I misunderstood and didn't realize that Puppet's 'undef' bareword is
effectively equivalent to a Ruby 'nil'.
On Thu, May 29, 2014 at 11:30 AM, Kylo Ginsberg k...@puppetlabs.com wrote:
I think a 'deprecation-level' setting might be more in keeping with
logging. It defaults to warn, but can be turned down to debug if you don't
want to normally see them.
This seems like it might cause some confusion
On Wed, May 28, 2014 at 4:13 PM, Shree shreeraj.karul...@gmail.com wrote:
Does anyone know how to deal with duplicate instances of facter which
causes errors on the client like below. I am using Oracle Linux 6.3 and
free puppet.
$ sudo puppet agent -t
info: Retrieving plugin
Could not
On Thu, May 29, 2014 at 6:08 AM, Adrián López Tejedor
adrian...@gmail.comwrote:
Downgrade to 3.5.1 since last message and running without problems.
El jueves, 29 de mayo de 2014 14:22:51 UTC+2, Adrián López Tejedor
escribió:
I am having the same problem but I only have uppet-server-3.6.1,
Are you using a Puppet module to configure JBOSS?
Rich
On Thursday, May 29, 2014, Ankita kumari ankia...@gmail.com wrote:
I want to know how can we change the jboss port no. which is 8080 by
default
--
You received this message because you are subscribed to the Google Groups
Puppet
On Tuesday, May 27, 2014 3:04:50 PM UTC-5, nix wrote:
I would like puppet be able to set the immutable attribute on selected
directory mount points before mounting on CentOS.
That's not gonna happen unless you can be certain that Puppet will run only
when there isn't yet anything
I am trying to use hiera to populate a defined type to feed the
puppet-logstash module. So far, I have been unable to send the data from my
hiera file to my defined type. I have tested my defined type and it is
working, I just can't seem to populate the variables. It tells me that
$content and
Hi everyone,
I understand the problem and solved create the new subclass add_group and
calling it from my add_users with include (include 'users::add_group')
Thanks.
2014-05-28 13:39 GMT-04:00 jcbollinger john.bollin...@stjude.org:
On Wednesday, May 28, 2014 5:20:19 AM UTC-5, Jose Luis
profiles::logstash::config:
input_file:
content: 'this is a test'
order: '10'
Should probably be
profiles::logstash::config:
content: 'this is a test'
order: '10'
On Thu, May 29, 2014 at 10:27 AM, Brian Wilkins bwilk...@gmail.com wrote:
I am trying to use hiera to populate
On Thu, May 29, 2014 at 8:30 AM, Kylo Ginsberg k...@puppetlabs.com wrote:
On Wed, May 28, 2014 at 1:53 PM, Andy Parker a...@puppetlabs.com wrote:
On Tue, May 27, 2014 at 11:33 AM, Kylo Ginsberg k...@puppetlabs.com
wrote:
On Tue, May 27, 2014 at 7:16 AM, Chuck cssc...@gmail.com wrote:
The
Oh ok, makes sense. I did that and now I get can't convert String into
Hash at /etc/puppet/modules/profiles/manifests/logstash/shipper.pp:15
My shipper.pp
class profiles::logstash::shipper() {
$shipper_config = hiera('profiles::logstash::config', {})
Yes I am using puppet to configure jboss
--
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 on
Yes I am using puppet module to configure jboss
--
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
Try setting your notice(${shipper_config}) before create resources and
see what it prints out.
On Thu, May 29, 2014 at 10:47 AM, Brian Wilkins bwilk...@gmail.com wrote:
Oh ok, makes sense. I did that and now I get can't convert String into
Hash at
Sounds like you want @servers[@hostname]['node'] ? If you want to match on the
ip address that sounds like you'd have to loop over it or build an ip=hostname
mapping.
http://docs.puppetlabs.com/guides/templating.html#referencing-variables
On Thu, May 29, 2014 at 08:08:53AM -0700, Christopher
It prints out:
order10contentthis is a test
It concatenated it all together.
On Thursday, May 29, 2014 12:59:09 PM UTC-4, Doug_F wrote:
Try setting your notice(${shipper_config}) before create resources and
see what it prints out.
On Thu, May 29, 2014 at 10:47 AM, Brian Wilkins
Just a thought try changing
$shipper_config = hiera('profiles::logstash::config', {}) =
$shipper_config = hiera_hash('profiles::logstash::config', {})
On Thu, May 29, 2014 at 11:01 AM, Brian Wilkins bwilk...@gmail.com wrote:
It prints out:
order10contentthis is a test
It concatenated it
Same problem. I see it concatenated in the notice.
On Thursday, May 29, 2014 1:05:39 PM UTC-4, Doug_F wrote:
Just a thought try changing
$shipper_config = hiera('profiles::logstash::config', {}) =
$shipper_config = hiera_hash('profiles::logstash::config', {})
On Thu, May 29, 2014 at
FYI this is how I ended up doing my logstash config module. It works but
the content is not in Hiera we have flat files we manage.
$logstash_configs = [
'app1',
'app2',
'app3',
]
logstash::configfile { Banner:
source =
If you use hiera on the server does it show up as a hash?
On Thu, May 29, 2014 at 11:08 AM, Brian Wilkins bwilk...@gmail.com wrote:
Same problem. I see it concatenated in the notice.
On Thursday, May 29, 2014 1:05:39 PM UTC-4, Doug_F wrote:
Just a thought try changing
$shipper_config
On puppetmaster:
$ sudo hiera --debug profiles::logstash::config ::fqdn=hostname
DEBUG: Thu May 29 13:12:56 -0400 2014: Hiera YAML backend starting
DEBUG: Thu May 29 13:12:56 -0400 2014: Looking up
profiles::logstash::config in YAML backend
DEBUG: Thu May 29 13:12:56 -0400 2014: Looking for
Maybe try your hiera command right inside your create_resources.
On Thu, May 29, 2014 at 11:13 AM, Brian Wilkins bwilk...@gmail.com wrote:
On puppetmaster:
$ sudo hiera --debug profiles::logstash::config ::fqdn=hostname
DEBUG: Thu May 29 13:12:56 -0400 2014: Hiera YAML backend starting
Same problem. It seems like I am close. If only it didn't put all the data
together as one string.
On Thursday, May 29, 2014 1:17:07 PM UTC-4, Doug_F wrote:
Maybe try your hiera command right inside your create_resources.
On Thu, May 29, 2014 at 11:13 AM, Brian Wilkins
Yeah I think masterless is probably the way to go for autoscaling. Even
with autosigning on you have to deal with the cert issue somehow.
I have a vagrant environment I hacked together for some testing and I
re-use hostnames there. My solution was to have the agent execute a puppet
cert clean on
I think I figured out what was wrong. Dynamic data bindings may be mapping
the inputs to the profiles::logstash::config defined type. Also I was in
error in modifying your hiera data.
Try this:
create_resources('profiles::logstash::config',
hiera_hash('profiles::logstash::config_settings'))
In
(I'm not sure how to phrase my question precisely, so this may not all be
totally clear.)
Has anybody else successfully moved away from using params.pp and default
values, and if so, what did you do and how did it go? If not, what made you go
back?
The only answer I can come up with is to
On Thursday, May 29, 2014 9:23:54 AM UTC-5, Mark McFate wrote:
I'm probably going about this all wrong, but I have an instance where I've
employed a Puppet module and need to *sometimes* add a creates
attribute to one of the exec's defined there. My code (below) is probably
all wrong,
Hmm, that's not working either. Doesn't look like it is populating my
define now. Hmm
On Thursday, May 29, 2014 1:56:43 PM UTC-4, Doug_F wrote:
I think I figured out what was wrong. Dynamic data bindings may be mapping
the inputs to the profiles::logstash::config defined type. Also I was in
Does it show up properly if you lookup on the server?
On Thu, May 29, 2014 at 12:09 PM, Brian Wilkins bwilk...@gmail.com wrote:
Hmm, that's not working either. Doesn't look like it is populating my
define now. Hmm
On Thursday, May 29, 2014 1:56:43 PM UTC-4, Doug_F wrote:
I think I
Yep!
$ sudo hiera --debug profiles::logstash::config_settings ::fqdn=hostname
DEBUG: Thu May 29 14:24:29 -0400 2014: Hiera YAML backend starting
DEBUG: Thu May 29 14:24:29 -0400 2014: Looking up
profiles::logstash::config_settings in YAML backend
DEBUG: Thu May 29 14:24:29 -0400 2014: Looking
Solved it using this tip.. it's odd but it works:
http://serverfault.com/a/538877/26514
shipper.pp
class profiles::logstash::shipper() {
$shipper_array = hiera_array('profiles::logstash::config_array')
define hash_extract() {
$shipper_hash =
I have two identical nodes - serv106 and serv107 - one of which is working
just fine but the other one failing with these error message:
err: Could not retrieve catalog from remote server: Error 400 on SERVER:
undefined method `include?' for nil:NilClass on node
warning: Not using cache on
Hi,
this error can me pretty much anything - you're likely hitting some kind
of bug (perhaps just a lack of error handling).
Run the puppet master with the --trace flag to get more details on
what's happening specifically.
Felix
On 05/29/2014 09:57 PM, Sans wrote:
I have two identical nodes
Thanks Felix for the heads up.
Sorry for the long post. That's all I get using --trace option but I still
can't figure out what's going wrong.
notice: Starting Puppet master version 2.7.23
info: access[^/catalog/([^/]+)$]: allowing 'method' find
info: access[^/catalog/([^/]+)$]: allowing $1
On 2014-29-05 15:58, Martin Langhoff wrote:
As the complexity of our $workplace puppet configuration grows, I am
increasingly worried that puppet gives us very limited visibility over
resources it no longer manages.
In practical terms: if I mess up my class include/require/inherit
structure so
On 2014-29-05 21:57, Sans wrote:
I have two identical nodes - serv106 and serv107- one of which is
working just fine but the other one failing with these error message:
err: Could not retrieve catalog from remote server: Error 400 on
SERVER: undefined method `include?' for
62 matches
Mail list logo