blueprint rules error

19 views
Skip to first unread message

Amol Kedar

unread,
Jan 31, 2012, 12:11:59 PM1/31/12
to bluepri...@googlegroups.com
Hi,
I am trying to create a blueprint based on my desired rules
(http://devstructure.github.com/blueprint/blueprint-rules.5.html)

so here are my steps

1) created a example1.blueprint-rules
# more example1.blueprint-rules

:file:/usr/share/php/XML/RPC2/Backend/Php/Value/Struct.php
:file:/usr/share/php/XML/RPC2/Backend/Php/Value.php
:file:/usr/share/php/XML/RPC2/Backend/Php/Value/Datetime.php


# blueprint rules example1.blueprint-rules
[blueprint] searching for APT packages
[blueprint] searching for configuration files
[blueprint] searching for software built from source
[blueprint] searching for npm packages
[blueprint] searching for Yum packages
[blueprint] searching for PEAR/PECL packages
[blueprint] searching for Ruby gems
[blueprint] searching for Python packages
[blueprint] searching for service dependencies


# blueprint show -rS example1
example1.sh


# more example1.sh
#
# Automatically generated by blueprint(7). Edit at your own risk.
#

set -x

cd "$(dirname "$0")"

-------------------------------------

so in the end i have not been able to acheive what i want to, is that create a blueprint to copy those 3 files to another server

what am i missing?

Richard Crowley

unread,
Jan 31, 2012, 11:41:41 PM1/31/12
to bluepri...@googlegroups.com

Blueprint only searches for configuration files in their canonical
directory - /etc.

It appears by the directory structure that these files are part of a
PEAR package. To create a blueprint containing these packages, place
something along these lines in your example1.blueprint-rules file:

:package:php-pear/XML_RPC2

Does that get you to the desired state?

Reply all
Reply to author
Forward
0 new messages