Jira (PUP-10059) {brief summary of issue}

2 views
Skip to first unread message

Andre Nathan (JIRA)

unread,
Oct 2, 2019, 8:44:03 AM10/2/19
to puppe...@googlegroups.com
Andre Nathan created an issue
 
Puppet / Bug PUP-10059
{brief summary of issue}
Issue Type: Bug Bug
Affects Versions: PUP 6.9.0
Assignee: Unassigned
Components: Types and Providers
Created: 2019/10/02 5:43 AM
Priority: Normal Normal
Reporter: Andre Nathan

Puppet Version: 6.9.0-1bionic
Puppet Server Version: 6.2.0-1bionic
OS Name/Version: Ubuntu 18.04

I have postfix and installed and held:

 

package { 'postfix':
 ensure => 'held',
}

 

 

# dpkg -l | grep postfix
hi postfix 3.3.0-1ubuntu0.2 amd64 High-performance mail transport agent

 

 

Now I'm trying to install a few sub-packages, also as held:

 

$packages = [
 'postfix-pcre',
 'postfix-mysql',
]
package { $packages:
 ensure => 'held',
}

 

When running puppet, the following messages are displayed:

Notice: /Stage[main]/Main/Package[postfix-pcre]/ensure: created
Notice: /Stage[main]/Main/Package[postfix-mysql]/ensure: created

Desired Behavior:

**Packages postfix-pcre and postfix-mysql should be installed and set to "held".

Actual Behavior:

 

Neither package is installed. The puppet resource command results in a package resource with ensure set to "purged":

# puppet resource package postfix-mysql ensure=held
Notice: /Package[postfix-mysql]/ensure: created
package { 'postfix-mysql':
 ensure => 'purged',
 provider => 'apt',
}

 

 

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages