On 2014-06-02 00:09, Tibor Malomsoki wrote:
apt-get update is work-
|exec { apt-update:
command = /usr/bin/apt-get update
}
Exec[apt-update] - Package | ||
But now I want to run a complicated script (/etc/puppet/script/works.sh)
what do I write the site.pp that I run the script in the
I creat the subdirectory etc.
But I get this massage - client:
can't open /proc/interrupts at /usr/bin/lsdev line 15.
info: Caching catalog for server.domain.com
info: Applying configuration version '1401794715'
err: /Stage[main]//File[/var/lib/puppet/script.sh]: Could not evaluate:
Could not
On 2014-06-02 09:38, Tibor Malomsoki wrote:
err: /Stage[main]//File[/var/lib/puppet/script.sh]: Could not evaluate:
Could not retrieve information from environment production source(s)
puppet:///modules/test/script.sh at /etc/puppet/manifests/site.pp:4
This says that the script.sh could not be
Thanks a lot Jose, i appreciate your help :)
Le vendredi 30 mai 2014 15:53:42 UTC+2, Jose Luis Ledesma a écrit :
Class vstar::apache should be in
/etc/puppet/modules/vstar/manifests/apache.pp
To allow autoloader find it.
Regards,
El 30/05/2014 15:48, Christian Charpentier
OS Ubuntu
The (test) script itself run.
The script content:
#!/bin/sh
mkdir /home/works01
I found this site.pp conf-
It is work the puppet agent ---test but the get-data.sh will not run.
define get-data() {
file { /usr/bin/data:
owner = root,
group = wheel,
Hi Tibor,
working through the learning VM from puppetlabs at
https://puppetlabs.com/download-learning-vm
will provide you with working knowledge how to debug this and other
issues in your puppet deployment.
Regards, David
On 2014-06-02 10:14, Tibor Malomsoki wrote:
OS Ubuntu
The
Hi all.
Just a quick one.
I am preparing a little demo about puppet in the company where I am working
and it all looks fine. What I don't have that much time for is a few slides
to say what is puppet, what puppet can do for sys admin guys and so on and
so I was wondering if there is something
Jim,
Thank you for your advise. I have access to the C# source code so I can
rebuild this as a service in VS2012. I should have realized this from the
start but I confess I was trying to cut corners by using what I had readily
available.
best regards,
-Bill
On Sunday, June 1, 2014 9:49:32
On 2014-31-05 2:15, Robert wrote:
I've stumbled upon this very annoying bug with the future parser where
it's replacing undef with empty strings when passed inside a hash to
create_resources().
test.pp
=
define test($var = undef) {
notice inline_template(%= @name % is % if @var
On 2014-27-05 15:23, Anton Lindstrom wrote:
There's a ticket open for that issue at
https://tickets.puppetlabs.com/browse/PUP-2659
Fix will be released in 3.6.2. Until then the recommendation is
to use Passenger (Note that Webrick is not recommended for production
even when this bug is
On 2014-29-05 19:59, jcbollinger wrote:
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
have you looked @ slideshare.com ?
On 02/06/14 11:19, Alfredo De Luca wrote:
Hi all.
Just a quick one.
I am preparing a little demo about puppet in the company where I am
working and it all looks fine. What I don't have that much time for is
a few slides to say what is puppet, what puppet
On Friday, May 30, 2014 8:48:18 AM UTC-5, Brian Mathis wrote:
It sounds like you need to read through these:
http://garylarizza.com/blog/2014/02/17/puppet-workflow-part-1/
http://garylarizza.com/blog/2014/02/17/puppet-workflow-part-2/
I don't see why you'd want to remove parameters
On Saturday, May 31, 2014 4:46:58 PM UTC-5, Robin Bowes wrote:
I think the most important thing is to not hardcode hiera() functions in
modules. That gives the flexibility for the users of the modules to
either rely on automatic parameter lookup (APL) or explicitly pass in
the
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 to
On Friday, May 30, 2014 5:10:57 PM UTC-5, Mike Delaney wrote:
bucket and @bucket are two different variables.
The main change in ERB templates between 2.7 and 3.x was deprecating the
use of non-class variables to pass information from the calling scope into
the template. Perhaps you got
On Saturday, May 31, 2014 2:53:52 PM UTC-5, Sans wrote:
Good catch Ellison; I haven't noticed that but nope, nothing unusual
from facter on the affected node.
Now running puppet agent -tv with certificate cleared from both master
and agent yields these:
notice: Starting Puppet master
On Thursday, May 29, 2014 2:39:15 PM UTC-5, Brian Wilkins wrote:
Solved it using this tip.. it's odd but it works:
http://serverfault.com/a/538877/26514
That's odd only inasmuch as the original problem in that serverfault
question was different from yours. The OP was trying to achieve a
I defined a custom fact by placing it in the facts.d folder in the module I
created. When I do an agent run the file is copied to the client but fails
with “was parsed but returned an empty data set”. This appears to be due
to the file having the incorrect permission (644). If I manually
Hi,
I'm migrate my Puppet setting to Hiera, now I try configure saz/sudo module
i've create my users under /etc/sudoers.d/10_user without problem with
Hiera:
sudo::configs:
'user':
'content' : %myGroup ALL=(ALL) NOPASSWD: ALL
'priority' : 10
But i've two nodes that use
If you don't want puppet to control the start and stop and want it to
continue running after puppet is done, a service would be best. There are
other methods of calling it to run as a service from the command line and
having it continue running but if you have access to the source code, then
I
This looks like a bug that was not resolved with our work on PUP-1211[1].
Would you mind filing a ticket[2] with this behavior so we can prioritize
it? Thank you.
[1] https://tickets.puppetlabs.com/browse/PUP-1211
[2] https://tickets.puppetlabs.com/browse/PUP
On Thu, May 29, 2014 at 10:08 AM,
That was totally it! I removed the @ from @bucket, and now all is well.
Thanks a million.
--
*Eugene Brodsky *teehan+lax
Systems Administrator
p. 416.340.8666 x2650
109 Atlantic Avenue, Suite 202
Toronto, ON M6K 1X4
www.teehanlax.com
On Mon, Jun 2, 2014 at 10:41 AM, jcbollinger
No, I didn't define any class in Dashbaord... I thought ENC script will
feed those classes in Dashbaord web interface
On Wednesday, March 12, 2014 6:06:06 AM UTC-4, Stefan Heijmans wrote:
Hi,
Have you defined any classes *in* Puppet Dashbaord and assigned them
node1.example.com?
FWIW, this is my working solution and I think it is much better:
/etc/puppet/modules/profiles/manifests/logstash/config.pp:
class profiles::logstash::config {
$brokers = $profiles::logstash::brokers
$cluster = $profiles::logstash::cluster
if (!empty($brokers)) and (empty($cluster)) {
Hi,
My problem is that the CSS formatting in puppet dashboard does not show up
under apache, but works fine under webrick. This SOUNDS exactly like some
old bugs (9676, 9767), but I've applied all the recommended fixes to no
avail, and at an rate the symptoms are only the same on the surface.
On Mon, Jun 2, 2014 at 8:23 AM, Michael Siroskey msiros...@gmail.com
wrote:
I defined a custom fact by placing it in the facts.d folder in the module
I created. When I do an agent run the file is copied to the client but
fails with “was parsed but returned an empty data set”. This appears to
On Mon, Jun 2, 2014 at 10:47 AM, Rob Reynolds r...@puppetlabs.com wrote:
This looks like a bug that was not resolved with our work on PUP-1211[1].
Would you mind filing a ticket[2] with this behavior so we can prioritize
it? Thank you.
[1] https://tickets.puppetlabs.com/browse/PUP-1211
[2]
Hi,
Using Puppet v2.7.25.
I have two services that have a refresh dependency between them, namely:
Service['foo'] ~ Service['bar']
This equates to: stop/start 'foo' then stop/start 'bar', whenever 'foo' is
refreshed.
Ideally I'd like the underlying series of operations to be: stop 'bar',
Can you let people know which module exaxtly that you're using? Is it one
you wrote or one you got from the Forge? I looked on the Forge and saw
multiple JBOSS modules and they are probably all going to work differently.
Hopefully it's parameterized and you can just override the default port
when
30 matches
Mail list logo