as specified by Jorge to
execute something if the the directory is present or not
Thanks and Regards,
Sneha More
On Wednesday, August 20, 2014 1:19:55 AM UTC+5:30, Flamarion Jorge wrote:
Ok. I'm sorry. Here other way.
exec { create dir:
command = 'mkdir -p /etc/puppet/test'
unless
and Regards,
Sneha More.
On Tuesday, October 8, 2013 11:57:35 PM UTC+5:30, John wrote:
I need to write a puppet SSHD module that does the following:
First I have 5 different operating systems to install to: Red Hat, Free
BSD, AIX, Ubuntu, and SuSE.
The second requirements:
If the host file
Hi,
I think the problem is with your modulepath, as your apache module is
under /etc/puppetlabs/puppet/environments/dev/, change the modulepath under
[dev] as
modulepath = /etc/puppetlabs/puppet/environments/dev
I hope this will solve your problem.
Thanks and Regards
Sneha More.
NTT DATA
, refer
http://stackoverflow.com/questions/16551717/how-to-include-a-subtemplate-in-a-puppet-template.
I hope its useful to you.
Thanks and Regards,
Sneha More,
NTT DATA GTS, OSS Center, India
On Tuesday, October 1, 2013 8:07:26 AM UTC+5:30, Tom Noonan wrote:
Hello, folks:
I want to include
just need to transfer this C# code on client - you can achive this
by file resource to transfer file
2. you need to execute your code on cleint - you can achieve this by exec
resource.
I hope this will help you to start up.
Thanks and Regards,
Sneha More,
NTT DATA GTS, OSS Center, India (Pune
.
i.e. different value of admin list for different node.
For 2nd example:
Create fact to find your special case machines. and you can use
condition
if $fact_name == special case
{
then condition
here use different port number for iptables rule.
}
Thanks and Regards,
Sneha More,
NTT
Hi,
you can use fact like,
env.rb
Facter.add(env) do
setcode do
Facter::Util::Resolution.exec('hostname | cut -d- -f4')
end
end
I hope this will work fine.
Thanks Regards,
Sneha More,
NTT DATA GTS, OSS Center, India (Pune)
On Friday, September 27, 2013 3:17:49 PM UTC+5:30
,
manifests, ordering, modules, classes etc.
I hope this will help you.
Thanks Regards,
Sneha More,
NTT DATA GTS, OSS Center, India, Pune
On Friday, September 27, 2013 4:45:02 PM UTC+5:30, Dilip Varma wrote:
Hi,
I'm newbie to Puppet even i don't know how to configure it.
Could you please
Hi Dilip,
Have you added listen = true in [main] section of puppet.conf?
And have you allowd access to runpath in auth.conf?
Please refer http://docs.puppetlabs.com/man/kick.html.
It may help you to solve this error.
Thanks Regards,
Sneha More,
NTT DATA GTS, OSS Center, India (Pune
,
Sneha More,
NTT DATA GTS, OSS Center, India (Pune).
On Tue, Sep 24, 2013 at 6:22 PM, AAB !! adeelarifbha...@gmail.com wrote:
Thanks for reply !
Could you/anyone tell me if a file gets deleted on the puppet master why
does it still appear on the puppet agent, only this delete operation
Hi,
exec { 'fusioninventory-agent':
command = 'yum -y install fusioninventory-agent --enablerepo=epel',
path = '/usr/bin',
}
An other idea is modifiy repo and change enabled=0 by enabled=1 and after
install or update modify enabled=0 by enabled=1 ? Your opinion?
Regards and
this will help you.
Thanks Regards
Sneha More
On Mon, Sep 23, 2013 at 3:46 PM, puppetstan stanislas.lev...@gmail.comwrote:
Hi
This configuration is not good if fusioninventory-agent is installed and
puppet want to verify the latest version because yum command option is
install and not update
after complete editing of file.
Or just transfer the files in folder, instead of complete folder.
Thanks Regards,
Sneha More,
NTT DATA GTS, OSS Center, India (pune)
On Tuesday, September 24, 2013 1:32:44 PM UTC+5:30, AAB !! wrote:
Hi,
I have two issues with my puppet.
*1*- When I change
://docs.puppetlabs.com/windows/running.html
Hope this will help you.
Thanks Regard,
Sneha More,
NTT DATA GTS, OSS Center, India (Pune)
On Tuesday, September 24, 2013 1:40:55 PM UTC+5:30, AAB !! wrote:
Hi,
You can skip the second question. But let come back to the first one,
could you tell me where
Hi,
Is there any problem with your yum command?
I could not understand, why yum install is not working?
Have you tried executing the same command manually?
On Saturday, September 21, 2013 10:48:42 PM UTC+5:30, puppetstan wrote:
A question, if in my Exec toto i use command = yum -y
/ssh_config':
ensure = present,
owner = $owner,
group = $group,
mode = '0644',
backup = false,
content = template(SSHT Template 3),
}
}
I hope this will help you.
Thanks Regards,
Sneha More,
NTT DATA GTS, OSS Centre, India (Pune).
On Thursday, September 19
Hi,
package { “xyz”:
ensure = latest,
enablerepo = “epel”, }
This internally executes,
yum -y --enablerepo=epel install xyz.
So can use Exec just for enabling repo and then you can use package
resource to install package.
I hope this should work.
Thanks and Regards,
Sneha
Hi Dilip,
You can get the installation and configuration steps for puppet on RHEL on
link
http://docs.puppetlabs.com/guides/installation.html#red-hat-enterprise-linux-and-derivatives
You can run shell script in client node which is in puppet server by,
1. Transfer the shell script to
',
}
Thanks Regards
Sneha More,
NTT DATA GTS, OSS Center, India (pune)
On Tuesday, September 17, 2013 8:11:04 AM UTC+5:30, Nate Walck wrote:
I started using chocolatey today and when trying to install an app
(Teamspeak3 in this case), I got the following error:
Info: Applying configuration
for
deatailed description.
*2nd case* : if you want to execute something after finding file containing
configuration error
then you can use attribute
onlyif = command
of exec resource
Please refer http://www.puppetcookbook.com/posts/exec-onlyif.html for
deatiled description
Thanks Regards,
Sneha
Hi
Have you changed any facts and used in your class pentaho? broken
handeling of facts may give such error.
will you please elaborate on your development environment?
Thanks Regards,
Sneha More,
NTT DATA GTS, OSS Center, India (Pune),
On Monday, September 9, 2013 8:47:04 PM UTC+5:30
Hi,
I think you can solve this by resolving dependancy in init.pp
You may try something like this.
init.pp
class openstack {
include openstack::install
class {'nova::controller':
require = Class['openstack::install'],
}
On Saturday, August 17, 2013 2:11:31 AM UTC+5:30, towen27
/reference/modules_fundamentals.html
Thanks Regards,
Sneha More,
NTT DATA OSS Center Pune, India
On Friday, August 16, 2013 11:14:02 PM UTC+5:30, ytmp123 wrote:
Hi Ellison Marks:
Thanks. But I don't get what I'm exactly expected to do in this exercise.
Is this structure right?:
- human
Hi,
I am generating rdoc by puppet doc, but it is not creating documentation
for the class having hash values.
Is there any way to solve this problem?
Regards,
Sneha More.
--
You received this message because you are subscribed to the Google Groups
Puppet Users group.
To unsubscribe from
by puppet doc does not create documentation for it.
Regards,
Sneha More
On Wed, Aug 14, 2013 at 4:49 PM, Sneha More snehamore...@gmail.com wrote:
Hi,
I am generating rdoc by puppet doc, but it is not creating
documentation for the class having hash values.
Is there any way to solve
.
Cheers.
Hi,
Here your onlyif condition is the cause of inserting a new line each
time.
you can try this:
*onlyif = match*[spec=$fs_dev] size == 0*
This will match your $fs_dev and will not insert it second time.
Regards,
Sneha More,
NTT DATA GTS,
Pune. (OSS Center)
--
You
)
Now try this:
*onlyif = match */spec[. = '$fs_dev'] size == 0
*
This will definitely work.
Sorry for creating confusion in previous reply.
Regards,
Sneha More,
NTT DATA GTS,
Pune. (OSS Center)
On Tue, Jul 30, 2013 at 6:28 PM, Sneha More snehamore...@gmail.com wrote:
On Tuesday, July 30, 2013 2
}\] size == 0
will work perfectly.
Regards,
Sneha More.
NTT DATA GTS.
(OSS Center) Pune.
On Tue, Jul 30, 2013 at 9:42 PM, Kristof Willaert
kristof.willa...@gmail.com wrote:
Hi,
you probably already tested this already, but how about:
onlyif = match *[spec = \${fs_dev}\] size == 0
Regards
,
}
class {base_config:
stage = second,
}
}
Regards,
Sneha More.
NTT DATA GTS.(OSS Centre)
On Monday, July 22, 2013 9:40:53 PM UTC+5:30, cko wrote:
hi everyone,
my *site.pp* looks like this:
node server.my.fqdn {
class { puppet_agent: }
class
Hi Aviar,
I think you should try this once.
class test {
notify { hello world: }
file { '/home/puppet/hello':
owner = root,
group = root,
mode = 644,
ensure = present,
source =
On Friday, July 19, 2013 12:45:50 AM UTC+5:30, Mark Hatch wrote:
Here is my manifest...
package { 'tractor blade':
provider = 'rpm',
ensure = present,
source =
Hi George,
You can directly use the fact hostname as $hostname in your manifest.
So though the hostname changes, puppet will take the updated value of
$hostname.
Will you please elaborate about the scenario for new node? Do you
want to use this hostname for certification
32 matches
Mail list logo