author | Kristina Tripp <Kristina.Tripp@oracle.com> |
Thu, 18 Sep 2014 15:01:38 -0600 | |
changeset 2097 | fad389ea20c7 |
parent 2054 | 5f403d9bcaad |
child 3732 | 0f62cc221c7e |
permissions | -rw-r--r-- |
2054
5f403d9bcaad
PSARC/2014/275 Hiera 1.3.4
Kristina Tripp <Kristina.Tripp@oracle.com>
parents:
diff
changeset
|
1 |
# |
5f403d9bcaad
PSARC/2014/275 Hiera 1.3.4
Kristina Tripp <Kristina.Tripp@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
5f403d9bcaad
PSARC/2014/275 Hiera 1.3.4
Kristina Tripp <Kristina.Tripp@oracle.com>
parents:
diff
changeset
|
3 |
# |
5f403d9bcaad
PSARC/2014/275 Hiera 1.3.4
Kristina Tripp <Kristina.Tripp@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
5f403d9bcaad
PSARC/2014/275 Hiera 1.3.4
Kristina Tripp <Kristina.Tripp@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
5f403d9bcaad
PSARC/2014/275 Hiera 1.3.4
Kristina Tripp <Kristina.Tripp@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
5f403d9bcaad
PSARC/2014/275 Hiera 1.3.4
Kristina Tripp <Kristina.Tripp@oracle.com>
parents:
diff
changeset
|
7 |
# |
5f403d9bcaad
PSARC/2014/275 Hiera 1.3.4
Kristina Tripp <Kristina.Tripp@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
5f403d9bcaad
PSARC/2014/275 Hiera 1.3.4
Kristina Tripp <Kristina.Tripp@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
5f403d9bcaad
PSARC/2014/275 Hiera 1.3.4
Kristina Tripp <Kristina.Tripp@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
5f403d9bcaad
PSARC/2014/275 Hiera 1.3.4
Kristina Tripp <Kristina.Tripp@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
5f403d9bcaad
PSARC/2014/275 Hiera 1.3.4
Kristina Tripp <Kristina.Tripp@oracle.com>
parents:
diff
changeset
|
12 |
# |
5f403d9bcaad
PSARC/2014/275 Hiera 1.3.4
Kristina Tripp <Kristina.Tripp@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
5f403d9bcaad
PSARC/2014/275 Hiera 1.3.4
Kristina Tripp <Kristina.Tripp@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
5f403d9bcaad
PSARC/2014/275 Hiera 1.3.4
Kristina Tripp <Kristina.Tripp@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
5f403d9bcaad
PSARC/2014/275 Hiera 1.3.4
Kristina Tripp <Kristina.Tripp@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
5f403d9bcaad
PSARC/2014/275 Hiera 1.3.4
Kristina Tripp <Kristina.Tripp@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
5f403d9bcaad
PSARC/2014/275 Hiera 1.3.4
Kristina Tripp <Kristina.Tripp@oracle.com>
parents:
diff
changeset
|
18 |
# |
5f403d9bcaad
PSARC/2014/275 Hiera 1.3.4
Kristina Tripp <Kristina.Tripp@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
5f403d9bcaad
PSARC/2014/275 Hiera 1.3.4
Kristina Tripp <Kristina.Tripp@oracle.com>
parents:
diff
changeset
|
20 |
# |
5f403d9bcaad
PSARC/2014/275 Hiera 1.3.4
Kristina Tripp <Kristina.Tripp@oracle.com>
parents:
diff
changeset
|
21 |
|
5f403d9bcaad
PSARC/2014/275 Hiera 1.3.4
Kristina Tripp <Kristina.Tripp@oracle.com>
parents:
diff
changeset
|
22 |
# |
5f403d9bcaad
PSARC/2014/275 Hiera 1.3.4
Kristina Tripp <Kristina.Tripp@oracle.com>
parents:
diff
changeset
|
23 |
# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. |
5f403d9bcaad
PSARC/2014/275 Hiera 1.3.4
Kristina Tripp <Kristina.Tripp@oracle.com>
parents:
diff
changeset
|
24 |
# |
5f403d9bcaad
PSARC/2014/275 Hiera 1.3.4
Kristina Tripp <Kristina.Tripp@oracle.com>
parents:
diff
changeset
|
25 |
|
5f403d9bcaad
PSARC/2014/275 Hiera 1.3.4
Kristina Tripp <Kristina.Tripp@oracle.com>
parents:
diff
changeset
|
26 |
<transform file path=usr.*/man/.+ -> default mangler.man.stability volatile> |
5f403d9bcaad
PSARC/2014/275 Hiera 1.3.4
Kristina Tripp <Kristina.Tripp@oracle.com>
parents:
diff
changeset
|
27 |
|
5f403d9bcaad
PSARC/2014/275 Hiera 1.3.4
Kristina Tripp <Kristina.Tripp@oracle.com>
parents:
diff
changeset
|
28 |
# Add a configuration file |
5f403d9bcaad
PSARC/2014/275 Hiera 1.3.4
Kristina Tripp <Kristina.Tripp@oracle.com>
parents:
diff
changeset
|
29 |
file files/hiera.yaml path=etc/hiera.yaml mode=0644 preserve=true overlay=allow |
5f403d9bcaad
PSARC/2014/275 Hiera 1.3.4
Kristina Tripp <Kristina.Tripp@oracle.com>
parents:
diff
changeset
|
30 |
|
5f403d9bcaad
PSARC/2014/275 Hiera 1.3.4
Kristina Tripp <Kristina.Tripp@oracle.com>
parents:
diff
changeset
|
31 |
# Add man page |
5f403d9bcaad
PSARC/2014/275 Hiera 1.3.4
Kristina Tripp <Kristina.Tripp@oracle.com>
parents:
diff
changeset
|
32 |
file files/hiera.1 path=usr/share/man/man1/hiera.1 |
5f403d9bcaad
PSARC/2014/275 Hiera 1.3.4
Kristina Tripp <Kristina.Tripp@oracle.com>
parents:
diff
changeset
|
33 |
|
5f403d9bcaad
PSARC/2014/275 Hiera 1.3.4
Kristina Tripp <Kristina.Tripp@oracle.com>
parents:
diff
changeset
|
34 |
# Add entry for the default dataset directory as specified in the hiera.yaml file |
5f403d9bcaad
PSARC/2014/275 Hiera 1.3.4
Kristina Tripp <Kristina.Tripp@oracle.com>
parents:
diff
changeset
|
35 |
dir path=var/lib/hiera |
5f403d9bcaad
PSARC/2014/275 Hiera 1.3.4
Kristina Tripp <Kristina.Tripp@oracle.com>
parents:
diff
changeset
|
36 |
license hiera.license license="Apache v2.0" |
5f403d9bcaad
PSARC/2014/275 Hiera 1.3.4
Kristina Tripp <Kristina.Tripp@oracle.com>
parents:
diff
changeset
|
37 |
|
2097
fad389ea20c7
19623766 hiera-19 package not installed if ruby-19 not installed
Kristina Tripp <Kristina.Tripp@oracle.com>
parents:
2054
diff
changeset
|
38 |
# force dependency on ruby runtime package to ensure at least one version |
fad389ea20c7
19623766 hiera-19 package not installed if ruby-19 not installed
Kristina Tripp <Kristina.Tripp@oracle.com>
parents:
2054
diff
changeset
|
39 |
# of ruby is installed on the system |
fad389ea20c7
19623766 hiera-19 package not installed if ruby-19 not installed
Kristina Tripp <Kristina.Tripp@oracle.com>
parents:
2054
diff
changeset
|
40 |
depend type=require fmri=pkg:/runtime/ruby |