Displaying 20 results from an estimated 7000 matches similar to: "PC EU feedback: ability to remove all unmanaged resources"
2011 Apr 19
8
Handling unmanaged resources and their files/configs
We have resources that, from time to time, are selected to be removed
(unmanaged). When it comes to ssh keys, fstab... this leaves a lot
of stuff behind that we don''t want. Is there a simple way to remove
the unmanaged data so we can keep the systems clean.
Thanks.
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post
2011 May 20
7
PC EU feedback: exported resource syntax is too magical, hard to read
http://projects.puppetlabs.com/issues/7612
The exported resources syntax:
@@user { luke: ensure => present }
Is concise and powerful, but very difficult to read. We should
consider word-based syntax, e.g.:
export @user { luke: ensure => present }
And taking into account #7605, perhaps:
export virtual user { luke: ensure => present }
Please comment on the ticket or reply
2008 Feb 20
2
purging unmanaged cron
Should this work?
# --- remove any cronjobs that are not managed by puppet.
resources { "cron": purge => true }
I get the following error.
Resources[cron]: Failed to generate additional resources: You must
specify a title for objects of type Puppet::Type::Cron
Ben
2009 Dec 08
5
Cleaning Out Stored Configs
Hi,
We''re using thin stored configs heavily to manage things like Munin
and Nagios and we''re currently wondering what to do when nodes go
away, or change considerably.
If we get rid of a server then all it''s stored config is still present
in the database, as well as it''s nagios and munin configurations.
We created a script that iterates through the database
2007 Nov 21
9
purging exported resources
So I have the following:
define nagios::service (
$nagios_template = ''service-template'',
$host_name = $fqdn,
$service_groups = '''',
$contact_groups = $default_contact_group,
$max_check_attempts = 3,
$dependency = false,
$dependent_host = $fqdn,
$dependent_service = '''',
$check_command = ''''
) {
2011 May 20
0
PC EU feedback: import should also include subdirectories
http://projects.puppetlabs.com/issues/7604
import "/etc/puppet/manifests/nodes/*"
Should import all manifests in subdirectories as well.
Note that this conflicts with #4732, which proposes that Puppet globs
act more like shell globs.
Please comment on the ticket or reply here, whichever you prefer.
Thanks!
r
P.S. This is in response to feedback from my "Improving the
2007 Nov 06
4
strange behavior from purge
I have the following define...
define puppet::module_dir {
if $name {
include puppet
file { "${puppetdir}/modules/${name}":
ensure => directory,
mode => 0755,
purge => true,
recurse => true,
}
}
}
I call it like so:
puppet::module_dir { "main" }
puppet::module_dir
2013 Feb 08
9
RFC: Default File Permissions
Recently, the issue of copying file modes from remote sources was discussed
on the puppet-users mailing list[1], although it equally applies to owner
and group.
One issue is what permissions to apply to newly created files when none are
specified? Historically, Puppet has always copied the permissions from the
file source to the newly created one. However, this causes problems on
Windows[2]
2007 Jan 17
16
Cron jobs not removed when deleted from Manifest
I''m not sure if this has been posted previously, but I couldn''t find any information on it.
I added a cron job via the cron type and it installed properly. Next, I removed the cron type from the manifest.
The result was that, while the entry was no longer in the yaml file, the cron entry was not removed!
Is this a bug, or the way that it is supposed to function?
Thank you,
2012 Feb 19
4
roolback to previouse configuration
Hello
Does anybody share how to roll-back configuration if puppet definition on
host is change. For example Let''s assume we have host on which initial was
web server and bunch of users. All this resources we configured throw
puppet.
node <some node>
{
<webserver difinition>
<user1 definition>
<user2 definition>
<user3 definition>
}
At some
2006 Nov 16
7
Negating or removing classes
I have a situation where I''d like to perform some actions when a node is
removed from a class. I have a few (homegrown) services that install ssh
keys in authorized_keys and it''s possible that a node may have the
service enabled and disabled during it''s lifetime. When disabled I''d
like to clean up the ssh keys for security reasons.
This brings up the broader
2012 Feb 02
5
Schedule for own resources?
Hello,
I am testing some schedule configurations and was wondering if I can
use the schedule type in my own defines? As far as I can claim from my
own tests, this is not possible?
For example, the schedule "morning" does not work with my self-written
define "my_crontab":
#########################################
class crontab {
schedule {"morning":
2007 Jan 23
20
"Found a bug" message when purging services
I attempted the following:
resources { service: purge => true, noop => true }
service {
sshd: ensure => running;
iptables ensure => running;
}
And got the following message:
notice: Starting configuration run
err: Found a bug: uninitialized constant Parse
notice: Finished configuration run in 0.47 seconds
When I remove the ''resources'' line, everything works
2013 Oct 21
3
Resource file copy files recurse in existing directory with existing files
Hi,
I have a file resource that brings files in the diretory
"/usr/local/nagios/libexec" from source1 and I have a second resource file
that should bring file in that same directory but from an other source.
But the result is that only the files from file {
"/usr/local/nagios/libexec": do exit in the directory. I tried remote and
true. The resource file {
2013 Oct 25
4
Puppet and Windows ACLs (Access Control Lists)
tl;dr: Windows manages permissions in a way that doesn''t always translate
well to mode. We''re putting together a solution for this. Jump in the
discussion.
I wanted to get this conversation started. We''ve put a lot of thought into
how the model should look and focused on ease of use up to more advanced
scenarios.
However I don''t feel that what we have is
2013 Aug 23
1
[Bridge] challenge of year: connect to LAN using wireless-ap over bridge + unmanaged l2tpv3 tunnel + bridge? it's possible?
hi everyone,
so,first it seemed a trivial question to me, but since I could not find
anybody being neither able to answer
this question nor giving a short config example. after a few sleepless
nights and exhausting all the reading
and research. here I am sharing my problem with all of you, in the hope of
some possible solution/sugestion.
or is it that this is impossible??
below my
2012 Feb 13
5
Removing the ability to serve symlinks as symlinks from the master...
G''day.
We recently found some issues with the `links => follow` setting in
recursive file copying; the designed behaviour is that it should allow
you to determine if the master serves a symlink in a module as a
symlink, or as the content of the file that the symlink points to.
The full details are here: https://projects.puppetlabs.com/issues/12418
The short version is that toggling
2008 May 23
2
manage cron jobs
Hi All,
is it possible to delete cronjobs by patterns using ''cron'' resource?
I.e. I want to make sure that there is no any cronjob that contains "/
path/to/some/unneeded_file" command in root crontab without knowing
the command possible parameters and schedule.
If no, any suggestions about how it can be performed are welcome.
Thanks in advance
2010 Aug 17
3
Sweave
Dear R users,
I am using Sweave.
I would like to use the width option for the graphics :
\begin{figure}[h!]
\centering
\includegraphics[width=0.7\textwidth]{x}
\end{figure}
How do I get this ?
Thank you very much,
Randall
[[alternative HTML version deleted]]
2010 Feb 26
7
counting the number of ones in a vector
Dear R users,
I want to count the number of ones in a vector x.
That's what I did : length( x[x==1] )
Is that a good solution ?
Thank you very much,
Randall
[[alternative HTML version deleted]]