blueprintignore(d)

67 views
Skip to first unread message

Shawn Adams

unread,
Feb 23, 2014, 10:19:54 PM2/23/14
to bluepri...@googlegroups.com
Hi. New to blueprint. Like it so far.

We are trying to use blueprint as a configuration management tool on Red Hat Enterprise Linux 6. Blueprint was installed with "pip install blueprint"
We have Matlab installed in /usr/local. This eats up about 5GB of space. I have therefore put the base dir for Matlab in /etc/blueprintignore as:

:sources:/usr/local/MATLAB

Unfortunately, it does not seem to get ignored when running blueprint create.

I get :

# [blueprint] searching for APT packages to exclude
# [blueprint] searching for Yum packages to exclude
# [blueprint] caching excluded Yum packages
# [blueprint] parsing blueprintignore(5) rules
# [blueprint] searching for Ruby gems
# [blueprint] searching for software built from source
# [blueprint] ignored dangling symbolic link /usr/local/MATLAB/R2013a/bin/glnxa64/libpng.so
# [blueprint] searching for APT packages
# [blueprint] searching for Yum packages
# [blueprint] searching for Python packages
# [blueprint] searching for npm packages
# [blueprint] searching for configuration files
# [blueprint] searching for PEAR/PECL packages
# [blueprint] searching for service dependencies
fatal: confused by unstable object source data for 6d5e576716c9a0c5df4ed10551c58                  b6d70bb8e85
Traceback (most recent call last):
  File "/usr/bin/blueprint-create", line 74, in <module>
    b = blueprint.cli.create(options, args)
  File "/usr/lib/python2.6/site-packages/blueprint/cli.py", line 39, in create
    b.commit(options.message or '')
  File "/usr/lib/python2.6/site-packages/blueprint/__init__.py", line 411, in co                  mmit
    git.git('update-index', '--add', os.path.abspath(filename))
  File "/usr/lib/python2.6/site-packages/blueprint/git.py", line 83, in git
    raise GitError(p.returncode)
blueprint.git.GitError: 128

Am I missing something?

Cheers.

Shawn Adams

Richard Crowley

unread,
Feb 24, 2014, 2:45:25 AM2/24/14
to bluepri...@googlegroups.com
On Sun, Feb 23, 2014 at 7:19 PM, Shawn Adams <smad...@gmail.com> wrote:
> Hi. New to blueprint. Like it so far.
>
> We are trying to use blueprint as a configuration management tool on Red Hat
> Enterprise Linux 6. Blueprint was installed with "pip install blueprint"
> We have Matlab installed in /usr/local. This eats up about 5GB of space. I
> have therefore put the base dir for Matlab in /etc/blueprintignore as:
>
> :sources:/usr/local/MATLAB

I believe it's as simple as changing that line to

:source:/usr/local/MATLAB

per blueprintignore(5). Let me know if that helps!

Richard

Shawn Adams

unread,
Feb 24, 2014, 5:37:30 PM2/24/14
to bluepri...@googlegroups.com
Hi Richard

Thanks for the reply. That did the trick.

Cheers.

Shawn
Reply all
Reply to author
Forward
0 new messages