#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
#
set name=pkg.fmri \
value=pkg:/system/management/puppet/puppet-solaris@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.summary \
value="Solaris specific components and auditing support for Puppet"
set name=com.oracle.info.description \
value="Solaris specific components and auditing support for Puppet"
set name=info.classification \
value="org.opensolaris.category.2008:System/Administration and Configuration"
set name=org.opensolaris.arc-caseid value=PSARC/2013/005 value=PSARC/2013/218 \
value=PSARC/2013/221 value=PSARC/2013/288 value=PSARC/2013/426
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
set name=org.opensolaris.smf.fmri value=svc:/application/puppet:agent \
value=svc:/application/puppet:master
file files/puppet.logadm.conf path=etc/logadm.d/puppet.logadm.conf group=sys \
restart_fmri=svc:/system/logadm-upgrade:default
file files/user_attr path=etc/user_attr.d/puppet
file ext/PuppetAudit.so \
path=usr/ruby/$(RUBY_VERSION)/lib/ruby/vendor_ruby/$(RUBY_LIB_VERSION)/$(MACH64)-solaris$(SOLARIS_VERSION)/PuppetAudit.so
group groupname=puppet gid=40
user username=puppet ftpuser=false gcos-field="Puppet Admin" group=puppet \
home-dir=/etc/puppet login-shell=/bin/false uid=40
license puppet.license license=Oracle
# Require puppet
depend type=require fmri=system/management/puppet
# Require puppet module for Solaris
depend type=require fmri=system/management/puppet/oracle-solaris_providers