Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Package responses || Who do I -force it?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Richard  
View profile  
 More options Mar 15 2008, 6:07 am
From: Richard <rnh...@gmail.com>
Date: Sat, 15 Mar 2008 03:07:48 -0700 (PDT)
Local: Sat, Mar 15 2008 6:07 am
Subject: Package responses || Who do I -force it?
I have been looking at package management in Puppet and I have run
into a problem.  What do you do when you've changed a packages config
and now it needs to be updated?  On Debian systems, aptitude will ask
if you want to [O]verwrite, [A]ppend, [B]ackup, etc. the old, modified
config file.  However, it doesn't look like Puppet will allow you to
answer these types of questions for apt based systems.

For example, I have updated my Zabbix-Client config file but there is
no way for me to tell Puppet to go ahead and let aptitude overwrite my
config file.  If I'm right Puppet will just put the config file back
for me, so it's safe to overwrite it.  But I'll never get that far as
aptitude will stall each time on that question.

Thanx!
  Richard


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Russ Allbery  
View profile  
 More options Mar 15 2008, 3:18 pm
From: Russ Allbery <r...@stanford.edu>
Date: Sat, 15 Mar 2008 12:18:29 -0700
Local: Sat, Mar 15 2008 3:18 pm
Subject: Re: [Puppet Users] Package responses || Who do I -force it?

Richard <rnh...@gmail.com> writes:
> I have been looking at package management in Puppet and I have run into
> a problem.  What do you do when you've changed a packages config and now
> it needs to be updated?  On Debian systems, aptitude will ask if you
> want to [O]verwrite, [A]ppend, [B]ackup, etc. the old, modified config
> file.  However, it doesn't look like Puppet will allow you to answer
> these types of questions for apt based systems.

This prompting is actually done by dpkg, not that it really matters.

On a Puppet-managed system, you probably want to just add:

    DPkg {
        Options {"--force-confold";}
    }

to /etc/apt/apt.conf.

--
Russ Allbery (r...@stanford.edu)             <http://www.eyrie.org/~eagle/>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Richard  
View profile  
 More options Mar 16 2008, 11:21 am
From: Richard <rnh...@gmail.com>
Date: Sun, 16 Mar 2008 08:21:55 -0700 (PDT)
Local: Sun, Mar 16 2008 11:21 am
Subject: Re: Package responses || Who do I -force it?
On Mar 15, 3:18 pm, Russ Allbery <r...@stanford.edu> wrote:

> This prompting is actually done by dpkg, not that it really matters.

> On a Puppet-managed system, you probably want to just add:

>     DPkg {
>         Options {"--force-confold";}
>     }

> to /etc/apt/apt.conf.

Russ,
  Excellent feedback.  I'll look into the apt.conf options and see if
I can't set it up to work the way I want.

Thanx!
  Richard


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »