components/ruby/hiera/hiera-GENFRAG.p5m
branchs11-update
changeset 3378 8c7eb3630145
child 3734 24181f5eb463
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/ruby/hiera/hiera-GENFRAG.p5m	Thu Oct 09 15:53:40 2014 -0700
@@ -0,0 +1,40 @@
+#
+# 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
+# or http://www.opensolaris.org/os/licensing.
+# 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) 2014, Oracle and/or its affiliates. All rights reserved.
+#
+
+<transform file path=usr.*/man/.+ -> default mangler.man.stability volatile>
+
+# Add a configuration file
+file files/hiera.yaml path=etc/hiera.yaml mode=0644 preserve=true overlay=allow
+
+# Add man page
+file files/hiera.1 path=usr/share/man/man1/hiera.1
+
+# Add entry for the default dataset directory as specified in the hiera.yaml file
+dir  path=var/lib/hiera
+license hiera.license license="Apache v2.0"
+
+# force dependency on ruby runtime package to ensure at least one version
+# of ruby is installed on the system
+depend type=require fmri=pkg:/runtime/ruby