Changeset 123 for trunk/confman/confman
- Timestamp:
- 12/04/2006 20:38:36 (5 years ago)
- File:
-
- 1 edited
-
trunk/confman/confman (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/confman/confman
r122 r123 96 96 conf_assemble_sing $file || return $? 97 97 done 98 conf_recordAction commit 99 conf_markclean 98 100 echo "Commit operation finished successfully" >&2 99 101 rm -f $msg 100 101 102 else 102 103 print_usage 1 … … 120 121 121 122 echo "Installation operation started." >&2 123 conf_commit "$LAYERS" $msg || return $? 122 124 for layer in $LAYERS ; do 123 $DEBUG && echo "Layer: $layer" >&4 124 conf_commit $layer $msg || return $? 125 conf_install $layer $* 125 conf_install $layer "$@" 126 126 done 127 127 for file in $SINGULARITIES ; do 128 128 conf_assemble_sing $file || conf_cleanexit 129 129 done 130 conf_recordAction install 131 if ! conf_isclean ; then 132 echo "WARNING: Recent 'install' operations prevented a 'sync'" >&2 133 echo "Running a 'commit' is highly recommended." >&2 134 fi 130 135 echo "Installation operation succeeded." >&2 131 136 fi … … 576 581 577 582 conf_rmattr "$attr" "$@" 583 } 584 585 function state { 586 if conf_isclean ; then 587 echo "This host is clean." 588 else 589 echo "This host may be dirty. Consider running a 'commit' operation" 590 fi 578 591 } 579 592 … … 598 611 help ) print_help "$@" ; exit 0 ;; 599 612 setup|se* ) setup "$@" ;; 600 status|st* ) status "$@" ;; 613 status ) status "$@" ;; 614 state ) state ;; 601 615 create|cr* ) create "$@" ;; 602 616 update|u* ) update "$@" ;;
Note: See TracChangeset
for help on using the changeset viewer.
